From 5015cefe98c212dbe4df81ae08602b051022ca52 Mon Sep 17 00:00:00 2001 From: enes Date: Thu, 8 Aug 2024 12:43:49 +0200 Subject: [PATCH] refactor: update loading description --- src/layouts/Main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/Main.tsx b/src/layouts/Main.tsx index c8f9f27..51c2086 100644 --- a/src/layouts/Main.tsx +++ b/src/layouts/Main.tsx @@ -136,7 +136,7 @@ export const MainLayout = () => { } setIsLoading(true) - setLoadingSpinnerDesc(`Loading SIGit History`) + setLoadingSpinnerDesc(`Loading SIGit history...`) getUsersAppData() .then((appData) => { if (appData) { @@ -145,7 +145,7 @@ export const MainLayout = () => { }) .finally(() => setIsLoading(false)) } - }, [authState]) + }, [authState, dispatch]) if (isLoading) return