Fix: Use useAuthStore in MeuCadastroForm
Corrected a TypeScript error in `src/components/settings/MeuCadastroForm.tsx` where `authStore` was incorrectly used instead of `useAuthStore`.
This commit is contained in:
parent
9a14d62b1a
commit
ea7e7fdfe3
@ -67,7 +67,7 @@ export default function MeuCadastroForm() {
|
||||
participa_pesquisas: false
|
||||
});
|
||||
|
||||
const userId = authStore.getState().user?.id;
|
||||
const userId = useAuthStore.getState().user?.id;
|
||||
|
||||
useEffect(() => {
|
||||
async function fetchData() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user