We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bef68 commit f51a70cCopy full SHA for f51a70c
src/components/login/LoginButton.tsx
@@ -50,16 +50,13 @@ const LoginButton = () => {
50
);
51
};
52
53
- if (isPending) {
54
- return <Loading size={'lg'} color={'primary'} display={'spinner'} />;
55
- }
56
-
57
return (
58
<>
59
<button type={'button'} onClick={onClick} className="btn btn-outline btn-primary w-full">
60
로그인
61
</button>
62
<Dialog ref={dialogRef} desc={dialogMessage}></Dialog>
+ {isPending && <Loading size={'lg'} color={'primary'} display={'spinner'} />}
63
</>
64
65
0 commit comments