Skip to content

Commit

Permalink
fix regular buttons submitting auth forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartaithan committed Jan 25, 2024
1 parent 86dcad8 commit 6f47280
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const Header: FC<HeaderProps> = (props) => {
<Anchor
className={classes.link}
component="button"
type="button"
onClick={handleSignOut}>
Sign out
</Anchor>
Expand Down
2 changes: 1 addition & 1 deletion components/ProfileTypePopover/ProfileTypePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const ProfileTypePopover: FC = () => {
</InputLabel>
<Popover width={300} position="top-end" withArrow shadow="md">
<Popover.Target>
<Anchor component="button" fw={500} fz="xs">
<Anchor component="button" type="button" fw={500} fz="xs">
What&apos;s that?
</Anchor>
</Popover.Target>
Expand Down
2 changes: 1 addition & 1 deletion components/TutorialTrigger/TutorialTrigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const TutorialTrigger: FC<Props> = (props) => {
<InputLabel required size="sm" fw={500}>
NPSSO
</InputLabel>
<Anchor component="button" onClick={open} fw={500} fz="xs">
<Anchor component="button" type="button" onClick={open} fw={500} fz="xs">
What the fuck is NPSSO?
</Anchor>
</Group>
Expand Down

1 comment on commit 6f47280

@vercel
Copy link

@vercel vercel bot commented on 6f47280 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

trophy-hunt – ./

trophy-hunt-git-main-hartaithan.vercel.app
trophy-hunt-hartaithan.vercel.app
trophy-hunt.vercel.app

Please sign in to comment.