From 366cbf4c3c989d12946f1aa721a960126d7a914a Mon Sep 17 00:00:00 2001 From: Brad Harris Date: Wed, 4 Oct 2023 21:54:07 +0000 Subject: [PATCH] remove optionsLoaded for loading state check --- components/dashboard/src/workspaces/CreateWorkspacePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dashboard/src/workspaces/CreateWorkspacePage.tsx b/components/dashboard/src/workspaces/CreateWorkspacePage.tsx index 062a4ce7b2ac76..d64dbbb52fc866 100644 --- a/components/dashboard/src/workspaces/CreateWorkspacePage.tsx +++ b/components/dashboard/src/workspaces/CreateWorkspacePage.tsx @@ -398,7 +398,7 @@ export function CreateWorkspacePage() { selectedIdeOption={selectedIde} useLatest={useLatestIde} disabled={createWorkspaceMutation.isStarting} - loading={workspaceContext.isLoading || !optionsLoaded} + loading={workspaceContext.isLoading} /> @@ -408,7 +408,7 @@ export function CreateWorkspacePage() { setError={setErrorWsClass} selectedWorkspaceClass={selectedWsClass} disabled={createWorkspaceMutation.isStarting} - loading={workspaceContext.isLoading || !optionsLoaded} + loading={workspaceContext.isLoading} />