From 79a5820687e21fafe674ee559dc8e9a1f2f6a251 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 21 Apr 2022 17:47:11 -0500 Subject: [PATCH] SoapboxMount: fix useEffect() --- app/soapbox/containers/soapbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/containers/soapbox.tsx b/app/soapbox/containers/soapbox.tsx index a7223dde1..9cb520366 100644 --- a/app/soapbox/containers/soapbox.tsx +++ b/app/soapbox/containers/soapbox.tsx @@ -98,7 +98,7 @@ const SoapboxMount = () => { }).catch(() => { setIsLoaded(false); }); - }); + }, []); // @ts-ignore: I don't actually know what these should be, lol const shouldUpdateScroll = (prevRouterProps, { location }) => {