Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
mkzie2 committed Aug 30, 2024
1 parent 91105c0 commit 47456fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function WorkspaceUpgradePage({route}: WorkspaceUpgradePageProps) {
const {translate} = useLocalize();
const [policy] = useOnyx(`policy_${policyID}`);
const {isOffline} = useNetwork();
const canPerformUpgrade = !!feature && !!policy && PolicyUtils.isPolicyAdmin(policy);

const canPerformUpgrade = !!feature && !!policy && PolicyUtils.isPolicyAdmin(policy);
const isUpgraded = React.useMemo(() => PolicyUtils.isControlPolicy(policy), [policy]);

const upgradeToCorporate = () => {
Expand Down

0 comments on commit 47456fb

Please sign in to comment.