mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
remove useMemo around bool
This commit is contained in:
parent
1473f57ba8
commit
874cdbd233
@ -24,11 +24,7 @@ export function OrgSettingsPage({ children }: OrgSettingsPageProps) {
|
||||
const { data: teamBillingMode, isLoading: isBillingModeLoading } = useOrgBillingMode();
|
||||
const { isOwner, isLoading: isMemberInfoLoading } = useCurrentOrgMember();
|
||||
const { oidcServiceEnabled, orgGitAuthProviders } = useFeatureFlags();
|
||||
|
||||
const isLoading = useMemo(
|
||||
() => isBillingModeLoading || isMemberInfoLoading,
|
||||
[isBillingModeLoading, isMemberInfoLoading],
|
||||
);
|
||||
const isLoading = isBillingModeLoading || isMemberInfoLoading;
|
||||
|
||||
const menu = useMemo(
|
||||
() =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user