aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2022-05-30 00:53:36 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2022-05-30 20:05:40 -0500
commit97273fe071d4aed0f6aefecce99981d4b5ba37ee (patch)
treec2193b1eeb504b508a1e079b022a42f7ad0cb68d /utils
parent30d2c741d8df965d5f15404fc471c6a7dd11ee7c (diff)
downloadhomepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.tar.xz
homepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.zip
Add new post
Diffstat (limited to 'utils')
-rw-r--r--utils/Posts.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/Posts.tsx b/utils/Posts.tsx
index 2a69629..fed1d31 100644
--- a/utils/Posts.tsx
+++ b/utils/Posts.tsx
@@ -1,6 +1,7 @@
import { promises as fs } from 'fs';
import path from 'path';
-import marked from 'marked';
+// @ts-ignore
+import { marked } from 'marked';
import markedOptions from './markedOptions';
marked.setOptions(markedOptions);