Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
at main 25 lines 693 B view raw
1import BackButton from "@/components/Shared/BackButton"; 2import NotLoggedIn from "@/components/Shared/NotLoggedIn"; 3import PageLayout from "@/components/Shared/PageLayout"; 4import { Card, CardHeader } from "@/components/Shared/UI"; 5import { useAccountStore } from "@/store/persisted/useAccountStore"; 6import List from "./List"; 7 8const RewardsSettings = () => { 9 const { currentAccount } = useAccountStore(); 10 11 if (!currentAccount) { 12 return <NotLoggedIn />; 13 } 14 15 return ( 16 <PageLayout title="Rewards"> 17 <Card> 18 <CardHeader icon={<BackButton path="/settings" />} title="Rewards" /> 19 <List /> 20 </Card> 21 </PageLayout> 22 ); 23}; 24 25export default RewardsSettings;