💄 Prettier
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user