🔧 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:
Gabriel Luiz Freitas Almeida 2023-08-30 14:56:23 -03:00
commit 7d9a9a7def
3 changed files with 4 additions and 3 deletions

View file

@ -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);

View file

@ -268,7 +268,7 @@ export type UserInputType = {
is_superuser?: boolean;
id?: string;
create_at?: string;
updated_at?:string;
updated_at?: string;
};
export type ApiKeyType = {

View file

@ -16,8 +16,8 @@ import {
} from "../types/flow";
import {
cleanEdgesType,
updateEdgesHandleIdsType,
unselectAllNodesType,
updateEdgesHandleIdsType,
} from "../types/utils/reactflowUtils";
import { toNormalCase } from "./utils";