LoginForm.js
import React, { useState } from "react";
import useGlobal from "../../store";
function LoginForm() {
const [loginUser, setUser] = useState();
const [globalState, globalActions] = useGlobal();
LoginForm.js
import React, { useState } from "react";
import useGlobal from "../../store";
function LoginForm() {
const [loginUser, setUser] = useState();
const [globalState, globalActions] = useGlobal();