diff --git a/src/features/network/components/NetworkContainer.js b/src/features/network/components/NetworkContainer.js index 5c32a8a..41cfc47 100644 --- a/src/features/network/components/NetworkContainer.js +++ b/src/features/network/components/NetworkContainer.js @@ -5,8 +5,9 @@ import { usePermissions } from "../../../hooks"; import NotAllowed from "../../../components/common/NotAllowed"; const NetworkContainer = () => { - const { viewMachines } = usePermissions(); + const { loading, viewMachines } = usePermissions(); + if (loading) return ""; if (!viewMachines) return ; return (