Removed Consecutive same statements
This commit is contained in:
1 parent
8d105e636d
commit
ad06544a64
1 file changed
-1
@@ -309,7 +309,6 @@ const useFetchGlobalSettings = () => {
|
|||||||
try {
|
try {
|
||||||
const res = await networkService.getAppSettings();
|
const res = await networkService.getAppSettings();
|
||||||
setGlobalSettings(res?.data);
|
setGlobalSettings(res?.data);
|
||||||
setIsLoading(false);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to fetch global settings:", error);
|
console.error("Failed to fetch global settings:", error);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in new issue
Block a user