Skip to content

Commit

Permalink
Merge pull request #96 from EveripediaNetwork/fix-add-supresshydratio…
Browse files Browse the repository at this point in the history
…nwarning

add supressHydrationWarning
  • Loading branch information
Royal-lobster authored Jan 1, 2025
2 parents 24087f8 + 1791717 commit b937ab4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-monkeys-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@everipedia/iq-login": patch
---

adds supress hydration warning on disconnect button
1 change: 1 addition & 0 deletions src/components/login-element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const Login = ({
</div>
<button
type="button"
suppressHydrationWarning
onClick={() => disconnect()}
className="w-full px-4 py-2 bg-destructive text-destructive-foreground rounded-md hover:bg-destructive/90 transition-colors"
>
Expand Down

0 comments on commit b937ab4

Please sign in to comment.