Skip to content

Commit b632936

Browse files
committed
fix: namespaces
1 parent 5a7e3df commit b632936

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

frontend/app/login/login.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import { useNavigate } from "react-router";
1414
import Button from '@mui/material/Button';
1515
import * as React from 'react';
16+
import {useState} from 'react';
1617
import GlobalState from "~/GlobalState";
1718
import styles from './login.module.css';
1819
import { useAtom } from "jotai";
@@ -55,11 +56,11 @@ export function Login() {
5556
const [globalUserDataState,setGlobalUserDataState] = useAtom(GlobalState.userDataState);
5657
const [globalWebWorkerRefState, setGlobalWebWorkerRefState] = useAtom(GlobalState.webWorkerRefState);
5758
const [globalLoginModal, setGlobalLoginModal] = useAtom(GlobalState.loginModalState);
58-
const [userName, setUserName] = React.useState('');
59-
const [password1, setPassword1] = React.useState('');
60-
const [password2, setPassword2] = React.useState('');
61-
const [responseMsg, setResponseMsg] = React.useState('');
62-
const [activeTab, setActiveTab] = React.useState(0);
59+
const [userName, setUserName] = useState('');
60+
const [password1, setPassword1] = useState('');
61+
const [password2, setPassword2] = useState('');
62+
const [responseMsg, setResponseMsg] = useState('');
63+
const [activeTab, setActiveTab] = useState(0);
6364

6465
const navToApp = () => {
6566
navigate("/app/app");

0 commit comments

Comments
 (0)