Skip to content

Commit

Permalink
remove loading screen in favor of disabling customize query button un…
Browse files Browse the repository at this point in the history
…til selection made and data loaded
  • Loading branch information
robertandremitchell committed Oct 23, 2024
1 parent 0cddeed commit 92121ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ const SelectSavedQuery: React.FC<SelectSavedQueryProps> = ({
))}
</Select>

{/* Customize Query Button with LoadingView */}
{/* Customize Query Button */}
<Button
type="button"
className="usa-button--outline bg-white margin-left-205"
onClick={() => setShowCustomizedQuery(true)}
disabled={loadingQueryValueSets || !selectedQuery} // Disable based on loading state and query selection
disabled={loadingQueryValueSets || !selectedQuery}
>
Customize query
</Button>
Expand Down

0 comments on commit 92121ca

Please sign in to comment.