Skip to content

Commit ea9abbe

Browse files
committed
lint
1 parent 6ce48ec commit ea9abbe

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/admin/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const theme = createTheme();
1616

1717
export default function Login() {
1818
const [open, setOpen] = React.useState(false);
19-
const [errorMessage, setErrorMessage] = React.useState("");
19+
const [errorMessage, setErrorMessage] = React.useState('');
2020
const handleClose = (
2121
event?: React.SyntheticEvent | Event,
2222
reason?: string,

src/utils/fetch.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ import createClient from 'openapi-fetch';
22
import type { paths } from '../types/api';
33
import { API_URL } from './config';
44

5-
export const apiClient = createClient<paths>({ baseUrl: API_URL, credentials: 'include' });
5+
export const apiClient = createClient<paths>({
6+
baseUrl: API_URL,
7+
credentials: 'include',
8+
});

0 commit comments

Comments
 (0)