chore: fmt

This commit is contained in:
lencx
2023-01-25 10:20:50 +08:00
parent 655dda8efb
commit db7a4f0b01
4 changed files with 3 additions and 4 deletions

View File

@@ -67,6 +67,5 @@ const RenderPath = ({ row }: any) => {
};
export const getPath = async (row: any) => {
const isImg = ['png'].includes(row?.ext);
return (await path.join(await chatRoot(), 'notes', row.id)) + `.${row.ext}`;
};