Fix feedback on banning an unbanning
authorPascal de Vink <pascal@pascaldevink.nl>
Mon, 26 Jun 2023 20:45:56 +0000 (21:45 +0100)
committerJay Sitter <jay@jaysitter.com>
Mon, 26 Jun 2023 22:30:31 +0000 (18:30 -0400)
commit8e2f83eb4e85afa4af20d82402a542970b271a33
treedb36a053f0802cf14abbd342a9137ddb6524bedf
parent28661dfacfd821a1ed4290982baf0685eccf4968
Fix feedback on banning an unbanning

 When banning or unbanning, the API call was done, but updating the
frontend failed. This caused a confusing experience for an admin, until
the page was reloaded.
src/shared/components/person/profile.tsx