diff --git a/components/CustomEmbedLinkMenu.tsx b/components/CustomEmbedLinkMenu.tsx
index 94ce7ad..862ae68 100644
--- a/components/CustomEmbedLinkMenu.tsx
+++ b/components/CustomEmbedLinkMenu.tsx
@@ -81,15 +81,17 @@ export default function CustomEmbedLinkMenu({
{t('Customise direct link')}
- {t('Change the raw file direct link to a URL ending with the extension of the file.')}{' '}
-
- {t('What is this?')}
-
+ <>
+ {t('Change the raw file direct link to a URL ending with the extension of the file.')}{' '}
+
+ {t('What is this?')}
+
+ >
diff --git a/components/previews/MarkdownPreview.tsx b/components/previews/MarkdownPreview.tsx
index f228fca..bcfe8df 100644
--- a/components/previews/MarkdownPreview.tsx
+++ b/components/previews/MarkdownPreview.tsx
@@ -1,6 +1,6 @@
import { FC, CSSProperties, ReactNode } from 'react'
import ReactMarkdown from 'react-markdown'
-import gfm from 'remark-gfm'
+import remarkGfm from 'remark-gfm'
import remarkMath from 'remark-math'
import rehypeKatex from 'rehype-katex'
import rehypeRaw from 'rehype-raw'
@@ -120,7 +120,8 @@ const MarkdownPreview: FC<{
{/* Using rehypeRaw to render HTML inside Markdown is potentially dangerous, use under safe environments. (#18) */}
{
const accessToken = await kv.get(`${siteConfig.kvPrefix}access_token`)
@@ -24,6 +24,6 @@ export async function storeOdAuthTokens({
accessTokenExpiry: number
refreshToken: string
}): Promise {
- await kv.set(`${siteConfig.kvPrefix}access_token`, accessToken, 'ex', accessTokenExpiry)
+ await kv.set(`${siteConfig.kvPrefix}access_token`, accessToken, 'EX', accessTokenExpiry)
await kv.set(`${siteConfig.kvPrefix}refresh_token`, refreshToken)
}