mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 10:19:49 +00:00
fix logos
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user