From d1ff6d46eacd97e69687368e1c15234799258bef Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Wed, 15 Feb 2023 13:47:41 +0100 Subject: [PATCH] fix: don't fetch version info over and over --- frontend/src/ui/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ui/App.tsx b/frontend/src/ui/App.tsx index 6e0876f..8fcee2d 100644 --- a/frontend/src/ui/App.tsx +++ b/frontend/src/ui/App.tsx @@ -169,7 +169,7 @@ export default function App(): JSX.Element { // Fill application info useEffect(() => { void dispatch(initializeServerInfo()); - }); + }, []); // Get application logs useEffect(() => {