Fix infinite re-render on home page

This commit is contained in:
James Grugett 2022-10-12 13:42:54 -05:00
parent 1d618ba337
commit da1fcb646f

View File

@ -7,6 +7,6 @@ export const useGlobalConfig = () => {
useEffect(() => { useEffect(() => {
listenForGlobalConfig(setGlobalConfig) listenForGlobalConfig(setGlobalConfig)
}, [globalConfig]) }, [])
return globalConfig return globalConfig
} }