Skip to content

Commit

Permalink
Merge pull request #73 from mokletdev/staging
Browse files Browse the repository at this point in the history
Fix: Register Button
  • Loading branch information
teguhbayu authored May 20, 2024
2 parents f97481c + 791b076 commit c59937a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/components/global/SubmitButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ export default function SubmitButton({
type="submit"
>
{pending ? (
<div className="relative w-8 h-8">
<div className="absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2">
<Spinner className="animate-spin" />
</div>
<div className="absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2">
<Spinner className="animate-spin" />
</div>
) : (
text
Expand Down

0 comments on commit c59937a

Please sign in to comment.