refactor: update loading description

This commit is contained in:
enes 2024-08-08 12:43:49 +02:00
parent 7b5a12246d
commit 5015cefe98

View File

@ -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 <LoadingSpinner desc={loadingSpinnerDesc} />