add prettier
This commit is contained in:
1 parent
6a9a45a4cc
commit
07fc6c0b6c
35 files changed
+530
-461
No files matched your search
@@ -1,6 +1,5 @@
|
||||
type PathKeys =
|
||||
| 'baseUrl'
|
||||
type PathKeys = 'baseUrl'
|
||||
|
||||
export const apiPaths: Record<PathKeys, string> = {
|
||||
baseUrl: '/',
|
||||
};
|
||||
baseUrl: '/'
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
type LocalStorageKeys = "HEADER_NAME" | "USER_TOKEN";
|
||||
type LocalStorageKeys = 'HEADER_NAME' | 'USER_TOKEN'
|
||||
|
||||
export const localStorageKeys: Record<LocalStorageKeys, string> = {
|
||||
HEADER_NAME: "HEADER_NAME",
|
||||
USER_TOKEN: "USER_TOKEN"
|
||||
};
|
||||
HEADER_NAME: 'HEADER_NAME',
|
||||
USER_TOKEN: 'USER_TOKEN'
|
||||
}
|
||||
+6
-10
@@ -1,12 +1,8 @@
|
||||
type RoutePaths =
|
||||
| 'home'
|
||||
| 'notFound'
|
||||
| 'error'
|
||||
| 'login'
|
||||
type RoutePaths = 'home' | 'notFound' | 'error' | 'login'
|
||||
|
||||
export const routePaths: Record<RoutePaths, string> = {
|
||||
home: '/',
|
||||
error: '/error',
|
||||
notFound: '*',
|
||||
login: '/login'
|
||||
};
|
||||
home: '/',
|
||||
error: '/error',
|
||||
notFound: '*',
|
||||
login: '/login'
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import {theme} from "antd";
|
||||
import { theme } from 'antd'
|
||||
|
||||
export const darkTheme = {algorithm: theme.darkAlgorithm}
|
||||
export const darkTheme = { algorithm: theme.darkAlgorithm }
|
||||
|
||||
export const lightTheme = {algorithm: theme.defaultAlgorithm}
|
||||
export const lightTheme = { algorithm: theme.defaultAlgorithm }
|
||||
Reference in new issue
Block a user