add prettier

This commit is contained in:
veselovnk committed 2024-04-04 10:54:10 +03:00
1 parent 6a9a45a4cc
commit 07fc6c0b6c
35 files changed
+530 -461

No files matched your search

+3 -4
View File
@@ -1,6 +1,5 @@
type PathKeys =
| 'baseUrl'
type PathKeys = 'baseUrl'
export const apiPaths: Record<PathKeys, string> = {
baseUrl: '/',
};
baseUrl: '/'
}
+4 -4
View File
@@ -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
View File
@@ -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'
}
+3 -3
View File
@@ -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 }