Skip to content

Commit

Permalink
remove optionsLoaded for loading state check
Browse files Browse the repository at this point in the history
  • Loading branch information
selfcontained committed Oct 4, 2023
1 parent 696e1c2 commit 366cbf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/workspaces/CreateWorkspacePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export function CreateWorkspacePage() {
selectedIdeOption={selectedIde}
useLatest={useLatestIde}
disabled={createWorkspaceMutation.isStarting}
loading={workspaceContext.isLoading || !optionsLoaded}
loading={workspaceContext.isLoading}
/>
</InputField>

Expand All @@ -408,7 +408,7 @@ export function CreateWorkspacePage() {
setError={setErrorWsClass}
selectedWorkspaceClass={selectedWsClass}
disabled={createWorkspaceMutation.isStarting}
loading={workspaceContext.isLoading || !optionsLoaded}
loading={workspaceContext.isLoading}
/>
</InputField>
</div>
Expand Down

0 comments on commit 366cbf4

Please sign in to comment.