💄 Prettier

This commit is contained in:
ajnart
2023-01-08 13:59:24 +09:00
parent 9af2ee4882
commit 84864a0578
6 changed files with 3 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ export async function getServerSideProps({
res,
locale,
}: GetServerSidePropsContext): Promise<{ props: DashboardServerSideProps }> {
// Get all the configs in the /data/configs folder
// Get all the configs in the /data/configs folder
// All the files that end in ".json"
const configs = fs.readdirSync('./data/configs').filter((file) => file.endsWith('.json'));

View File

@@ -37,10 +37,9 @@ import {
IconSun,
} from '@tabler/icons';
import { motion } from 'framer-motion';
import axios from 'axios';
import { Logo } from '../components/layout/Logo';
import { usePrimaryGradient } from '../components/layout/useGradient';
import { backendMigrateConfig } from '../tools/config/backendMigrateConfig';
import axios from 'axios';
const useStyles = createStyles((theme) => ({
root: {