Used Parent State And Set Minor Changes

This commit is contained in:
singh-kanwarpreet committed 2025-07-30 00:25:53 +05:30
1 parent af010e138d
commit da7d9c02c8
2 files changed
+11 -34

No files matched your search

+1 -1
View File
@@ -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 {