From f18aeac512c6c873b240026aef0b14a15b7cc823 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 21 Feb 2022 08:04:55 -0700 Subject: [PATCH] Make page reload so retain button state sticks --- web/src/routes/Event.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/routes/Event.jsx b/web/src/routes/Event.jsx index 18c12e1ee..35e954f70 100644 --- a/web/src/routes/Event.jsx +++ b/web/src/routes/Event.jsx @@ -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) {