Skip to content

Commit ea343d5

Browse files
committed
[UI] Log-In Button Does Not Change Size
1 parent 97ff3d4 commit ea343d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/auth/pages/Login.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ export default function Login() {
4848
<Button
4949
type="submit"
5050
disabled={isSubmitting}
51+
loading={isSubmitting}
5152
variant="primary"
5253
h="auto"
5354
style={{ aspectRatio: '1/1' }}
5455
>
55-
{isSubmitting ? t.auth.loggingIn : t.auth.login}
56+
{!isSubmitting && t.auth.login}
5657
</Button>
5758
</Flex>
5859

0 commit comments

Comments
 (0)