Skip to content

Commit

Permalink
Fix spinner in LanguagesModal (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Aug 20, 2024
1 parent c28846d commit 3765695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dialogs/LanguagesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function LanguagesModal({ onClose, type }: Props) {
onRequestClose={onClose}
header={`${type} Languages`}
>
{!languagesQuery.isPending
{languagesQuery.isPending
&& <Icon path={mdiLoading} spin size={3} className="mx-auto text-panel-text-primary" />}
{Object.keys(languageDescription).length > 0 && (
<div className="w-full rounded-lg border border-panel-border bg-panel-input p-4 capitalize">
Expand Down

0 comments on commit 3765695

Please sign in to comment.