Used Parent State And Set Minor Changes
This commit is contained in:
1 parent
af010e138d
commit
da7d9c02c8
2 files changed
+11
-34
No files matched your search
@@ -302,7 +302,7 @@ const useCreateMonitor = () => {
|
||||
|
||||
const useFetchGlobalSettings = () => {
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [globalSettings, setGlobalSettings] = useState(null);
|
||||
const [globalSettings, setGlobalSettings] = useState(undefined);
|
||||
useEffect(() => {
|
||||
const fetchGlobalSettings = async () => {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user