Skip to content

Commit 72021d1

Browse files
committed
get out of here
1 parent 074c93d commit 72021d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/modules/dashboard/DashboardProvider.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ export const DashboardProvider: FC<PropsWithChildren> = ({ children }) => {
5555
}
5656

5757
const hasMultipleOrganizations = organizationsQuery.data.length > 1;
58-
const organizationsEnabled =
59-
experimentsQuery.data.includes("multi-organization") &&
60-
selectFeatureVisibility(entitlementsQuery.data).multiple_organizations;
58+
const organizationsEnabled = selectFeatureVisibility(
59+
entitlementsQuery.data,
60+
).multiple_organizations;
6161

6262
return (
6363
<DashboardContext.Provider

0 commit comments

Comments
 (0)