💄 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'));