Make page reload so retain button state sticks

This commit is contained in:
Nick Mowen 2022-02-21 08:04:55 -07:00
parent dacf4f20d1
commit f18aeac512

View File

@ -86,6 +86,7 @@ export default function Event({ eventId, close, scrollRef }) {
if (success) {
setIsRetained(!isRetained);
window.location.reload(); // Need to reload page otherwise retain won't stick
}
} catch (e) {