Skip to content

Commit

Permalink
removed login wall for profile (vechain#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapple214 authored Sep 14, 2024
1 parent 0cdc7ad commit 5c4f4a9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions apps/frontend/src/routes/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ import { useWallet } from "@vechain/dapp-kit-react";
export default function Profile() {
const { account } = useWallet();

if (!account) {
return <div className="absolute inset-0 h-full grid place-items-center ">
<div className="flex flex-col place-content-center place-items-center text-white">

<span className="mb-4">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-lock"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>

</span>

<span className="text-xl font-bold">
Please Login to view this page.
</span>
</div>
</div>
}
return <div className="absolute inset-0 h-full max-w-sm">
<div className="bg-white px-4 py-10 h-full flex flex-col">
<div className="mb-auto space-y-4">
Expand Down

0 comments on commit 5c4f4a9

Please sign in to comment.