// import { useEffect } from 'react' import { useTalentPuller, useTalentPicker } from '@remake/hooks' import { useTalentSubmit, useSubmitIsEnable } from '@remake/hooks' import { PullCount } from '@/config' import TalentComponent from '@/components/Talent' import './TalentPick.css' export default function TalentPick() { const [pulled, puller] = useTalentPuller() const [talents, picker] = useTalentPicker() const { enabled, min, max } = useSubmitIsEnable() const submit = useTalentSubmit() // useEffect(puller, []) if (!pulled) return (