Skip to content

Commit

Permalink
testing authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Mar 21, 2024
1 parent 2481205 commit 4ac58e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Page = () => {
});
});
useEffect(() => {
if (zeroDevReady && authenticated && user.wallet.address) {
if (zeroDevReady && authenticated ) {
// set user address
dispatch(setAddress(user?.wallet?.address));

Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function HomePage() {

useEffect(() => {
const welcomeMessage = isMobile
? 'You are on a mobile device.'
? ''
: 'You are on a desktop device. Please use a mobile device to view this app.';
setWelcomeMessage(welcomeMessage);
}, [isMobile]);
Expand Down

0 comments on commit 4ac58e3

Please sign in to comment.