Skip to content

Commit a361f08

Browse files
committed
do not use unfetched sandboxes
1 parent 1cd0a35 commit a361f08

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

packages/app/src/app/overmind/effects/gql/sidebar/queries.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ export const getTeamSidebarData: Query<
3434
${sidebarSyncedSandboxFragment}
3535
${sidebarTemplateFragment}
3636
${sidebarProjectFragment}
37-
${sandboxFragmentDashboard}
3837
`;

packages/app/src/app/overmind/namespaces/sidebar/actions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const getSidebarData = async (
1515
const result = await queries.getTeamSidebarData({ id: teamId });
1616

1717
const syncedSandboxes = result.me?.team?.syncedSandboxes || null;
18-
const sandboxes = result.me?.team?.sandboxes || [];
1918
const templates = result.me?.team?.templates || null;
2019
const repositories =
2120
result.me?.team?.projects?.map(p => ({
@@ -30,7 +29,6 @@ export const getSidebarData = async (
3029
state.sidebar[teamId] = {
3130
hasSyncedSandboxes,
3231
hasTemplates,
33-
sandboxes,
3432
repositories,
3533
};
3634
} catch {

packages/app/src/app/overmind/namespaces/sidebar/state.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ type SidebarState = {
55
hasSyncedSandboxes: boolean | null;
66
hasTemplates: boolean | null;
77
repositories: Array<RepoInfo>;
8-
sandboxes: Array<Sandbox>;
98
};
109

1110
export type State = Record<string, SidebarState>;

0 commit comments

Comments
 (0)