Skip to content

Commit

Permalink
feat: disable the theme feature (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab authored Dec 18, 2024
1 parent 89e1090 commit d71d57f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/app/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { ConnectedSmall } from "../Connect/ConnectedSmall";
import { ConnectSmall } from "../Connect/ConnectSmall";
import { Logo } from "../Logo/Logo";
import { TestingInfo } from "../TestingInfo/TestingInfo";
import { ThemeToggle } from "../ThemeToggle/ThemeToggle";

export const Header = () => {
const { connected, disconnect, open } = useWalletConnect();
Expand Down Expand Up @@ -37,7 +36,7 @@ export const Header = () => {
btcWalletBalanceSat={totalBalance}
onDisconnect={disconnect}
/>
<ThemeToggle />
{/* <ThemeToggle /> */}
</div>
<div
className={twJoin(
Expand Down
6 changes: 5 additions & 1 deletion src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ function Providers({ children }: React.PropsWithChildren) {

return (
<ScrollLocker>
<ThemeProvider defaultTheme="dark" attribute="data-theme">
<ThemeProvider
defaultTheme="light"
enableSystem={false}
attribute="data-theme"
>
<QueryClientProvider client={client}>
<ErrorProvider>
<BbnRpcProvider>
Expand Down

0 comments on commit d71d57f

Please sign in to comment.