Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import { useSignupStore } from "@/components/Shared/Auth/Signup";
2import { Button } from "@/components/Shared/UI";
3import { useAuthModalStore } from "@/store/non-persisted/modal/useAuthModalStore";
4
5interface SignupButtonProps {
6 className?: string;
7}
8
9const SignupButton = ({ className }: SignupButtonProps) => {
10 const { setShowAuthModal } = useAuthModalStore();
11 const { setScreen } = useSignupStore();
12
13 return (
14 <Button
15 className={className}
16 onClick={() => {
17 setScreen("choose");
18 setShowAuthModal(true, "signup");
19 }}
20 outline
21 size="md"
22 >
23 Signup
24 </Button>
25 );
26};
27
28export default SignupButton;