import Button from "../button/button"; import useSteps, { GenderChoice } from "../../../hooks/palmistry/use-steps"; import { useDispatch } from "react-redux"; import { actions } from "@/store"; export default function StepGender() { const steps = useSteps(); const dispatch = useDispatch(); const onNext = (choice: GenderChoice) => { dispatch(actions.questionnaire.update({ gender: choice })); steps.saveCurrent(choice); steps.goNext(choice); }; return ( <>

What’s your gender?

In Palmistry, everyone is a blend of masculine and feminine, so it helps to know yours.

); }