chore: format files with prettier

This commit is contained in:
Sat Naing
2022-10-16 23:53:16 +06:30
parent 1cf0efe188
commit 20822c422a
11 changed files with 55 additions and 53 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ export const slugifyStr = (str: string) => slugger(str);
const slugify = (frontmatter: Frontmatter) =>
frontmatter.slug ? slugger(frontmatter.slug) : slugger(frontmatter.title);
export const slufigyAll = (arr: string[]) => arr.map((str) => slugifyStr(str));
export const slufigyAll = (arr: string[]) => arr.map(str => slugifyStr(str));
export default slugify;