fix logos

This commit is contained in:
typescreep
2025-11-11 06:10:44 +03:00
parent 72a979d295
commit d1eedb0287

View File

@@ -66,13 +66,17 @@ export const MainLayout: FC<TMainLayoutProps> = ({ children, forcedTheme }) => {
}
}, [clusterListQuery, dispatch])
if (clusterName) {
dispatch(setCluster(clusterName))
}
// if (clusterName) {
// dispatch(setCluster(clusterName))
// }
if (clusterName === undefined) {
dispatch(setCluster(''))
}
// if (clusterName === undefined) {
// dispatch(setCluster(''))
// }
useEffect(() => {
dispatch(setCluster(clusterName ?? ''))
}, [dispatch, clusterName])
return (
<DefaultColorProvider $color={token.colorText}>