Skip to content

Commit

Permalink
LoginBanner functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
marsian83 committed Jan 9, 2025
1 parent e82ff4f commit 0d29ff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/pages/discover/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import LoginBanner from "../../shared/components/LoginBanner.tsx";
import RiskWarningBanner from "../../shared/components/RiskWarningBanner.tsx";
import Navigation from "./Navigation.tsx";
import Tokens from "./Tokens.tsx";
import { useWallets } from "privy";
import { usePrivy, useWallets } from "privy";

export default function () {
// const { authenticated } = usePrivy();
const { authenticated } = usePrivy();
const w = useWallets();

useEffect(() => {
Expand All @@ -28,7 +28,7 @@ export default function () {

<Header />

<LoginBanner />
{!authenticated && <LoginBanner />}

<Navigation />

Expand Down

0 comments on commit 0d29ff5

Please sign in to comment.