Skip to content

Commit

Permalink
fix default toggle (#699)
Browse files Browse the repository at this point in the history
* fix toggle

* fix: theme icon

---------

Co-authored-by: David Totraev <[email protected]>
  • Loading branch information
jeremy-babylonlabs and 0xDazzer authored Feb 20, 2025
1 parent 5b143e3 commit e77e106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/components/ThemeToggle/ThemeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const ThemeToggle = () => {
onChange={(value) => {
setTheme(value ? "dark" : "light");
}}
inactiveIcon={<IoIosMoon size={10} />}
activeIcon={<IoIosSunny size={12} />}
inactiveIcon={<IoIosSunny size={12} />}
activeIcon={<IoIosMoon size={10} />}
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Wallet/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const Connect: React.FC<ConnectProps> = ({
</Text>
<div className="flex flex-col items-center justify-center">
<Toggle
defaultValue={ordinalsExcluded}
defaultValue={!ordinalsExcluded}
onChange={(value) =>
value ? includeOrdinals() : excludeOrdinals()
}
Expand Down

0 comments on commit e77e106

Please sign in to comment.