🔧 fix(loginPage): improve code readability by formatting the code and breaking long lines
🔧 fix(types): fix formatting of the updated_at property in UserInputType 🔧 fix(reactflowUtils): fix import order and formatting in reactflowUtils.ts
This commit is contained in:
parent
f9e3d0f57b
commit
7d9a9a7def
3 changed files with 4 additions and 3 deletions
|
|
@ -19,7 +19,8 @@ export default function LoginPage(): JSX.Element {
|
|||
useState<loginInputStateType>(CONTROL_LOGIN_STATE);
|
||||
|
||||
const { password, username } = inputState;
|
||||
const { login, getAuthentication, setUserData, setIsAdmin } = useContext(AuthContext);
|
||||
const { login, getAuthentication, setUserData, setIsAdmin } =
|
||||
useContext(AuthContext);
|
||||
const navigate = useNavigate();
|
||||
const { setErrorData } = useContext(alertContext);
|
||||
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ export type UserInputType = {
|
|||
is_superuser?: boolean;
|
||||
id?: string;
|
||||
create_at?: string;
|
||||
updated_at?:string;
|
||||
updated_at?: string;
|
||||
};
|
||||
|
||||
export type ApiKeyType = {
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ import {
|
|||
} from "../types/flow";
|
||||
import {
|
||||
cleanEdgesType,
|
||||
updateEdgesHandleIdsType,
|
||||
unselectAllNodesType,
|
||||
updateEdgesHandleIdsType,
|
||||
} from "../types/utils/reactflowUtils";
|
||||
import { toNormalCase } from "./utils";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue