Skip to content

Commit

Permalink
re-hide
Browse files Browse the repository at this point in the history
  • Loading branch information
tssweeney committed Dec 11, 2024
1 parent bf39669 commit 4fda590
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Box from '@mui/material/Box';
import {useViewerInfo} from '@wandb/weave/common/hooks/useViewerInfo';
import {Loading} from '@wandb/weave/components/Loading';
import {urlPrefixed} from '@wandb/weave/config';
import {useViewTraceEvent} from '@wandb/weave/integrations/analytics/useViewEvents';
Expand Down Expand Up @@ -70,9 +69,10 @@ export const CallPage: FC<{
return <CallPageInnerVertical {...props} call={call.result} />;
};

export const useShowRunnableUI = () => {
const viewerInfo = useViewerInfo();
return viewerInfo.loading ? false : viewerInfo.userInfo?.admin;
return false;
// Uncomment to re-enable.
// const viewerInfo = useViewerInfo();
// return viewerInfo.loading ? false : viewerInfo.userInfo?.admin;
};

const useCallTabs = (call: CallSchema) => {
Expand Down

0 comments on commit 4fda590

Please sign in to comment.