Skip to content

Commit 4c91639

Browse files
committed
fix lint issue
1 parent 3b39c33 commit 4c91639

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

packages/web/app/src/components/organization/settings/oidc-integration-section.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,11 +851,14 @@ function OIDCDefaultResourceSelector(props: {
851851
function MutateState() {
852852
if (debouncedMutate.isPending() || mutateState === 'loading') {
853853
return <Spinner className="absolute right-0 top-0" />;
854-
} else if (mutateState === 'error') {
854+
}
855+
if (mutateState === 'error') {
855856
return <XIcon className="absolute right-0 top-0 text-red-500" />;
856-
} else if (mutateState === 'success') {
857+
}
858+
if (mutateState === 'success') {
857859
return <CheckIcon className="absolute right-0 top-0 text-emerald-500" />;
858860
}
861+
return null;
859862
}
860863

861864
return (

pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)