diff --git a/frontend/eda/common/useEdaActiveUser.tsx b/frontend/eda/common/useEdaActiveUser.tsx
index 283f8362f6..f88a0eda1f 100644
--- a/frontend/eda/common/useEdaActiveUser.tsx
+++ b/frontend/eda/common/useEdaActiveUser.tsx
@@ -16,7 +16,15 @@ export function useEdaActiveUser() {
return useContext(EdaActiveUserContext);
}
-export function EdaActiveUserProvider(props: { children: ReactNode }) {
+export function EdaActiveUserProvider(props: { children: ReactNode; disabled?: boolean }) {
+ return props?.disabled ? (
+ {props.children}
+ ) : (
+ {props?.children}
+ );
+}
+
+export function EdaActiveUserProviderInternal(props: { children: ReactNode }) {
const response = useSWR(edaAPI`/users/me/`, requestGet, {
dedupingInterval: 0,
refreshInterval: 10 * 1000,