update file format

remove newline at end of file
This commit is contained in:
DefectingCat
2023-05-19 09:27:38 +08:00
parent 120d599a83
commit 0c8a3ce0da
4 changed files with 4 additions and 4 deletions

View File

@ -40,4 +40,4 @@ export default async function Page({ params }: { params: { page: string } }) {
/>
</>
);
}
}

View File

@ -74,4 +74,4 @@ const Page = async ({
);
};
export default Page;
export default Page;

View File

@ -77,4 +77,4 @@ export const allPostsPath = async () => {
export const readSinglePost = async (slug: string) => {
const filename = path.join(`${dataPath}/${slug}.mdx`);
return await fs.readFile(filename, { encoding: 'utf-8' });
};
};

View File

@ -64,4 +64,4 @@
"tailwindcss": "^3.3.2",
"typescript": "5.0.4"
}
}
}