chore: update github-slugger

This commit is contained in:
AkaraChen
2022-10-28 10:33:33 +08:00
parent f3adbd7957
commit 55425d4504
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import GithubSlugger from "github-slugger";
import type { Frontmatter } from "src/types";
const slugger = GithubSlugger.slug;
const slugger = new GithubSlugger().slug;
export const slugifyStr = (str: string) => slugger(str);