Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Apr 29, 2024
1 parent e21afba commit 4082a20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/markdoc/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs/promises'
import isMatch from 'date-fns/isMatch'
import { isMatch } from 'date-fns'
import Markdoc, { type Config, type Tag, type ValidateError } from '@markdoc/markdoc'
import { isNonEmptyArray } from 'emery/guards'
import { assert } from 'emery/assertions'
Expand Down
3 changes: 1 addition & 2 deletions docs/pages/blog/[post].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
} from 'next'
import Link from 'next/link'
import { useRouter } from 'next/router'
import parse from 'date-fns/parse'
import format from 'date-fns/format'
import { parse, format } from 'date-fns'
import { globby } from 'globby'
import { type BlogContent, readBlogContent } from '../../markdoc'
import { extractHeadings, Markdoc } from '../../components/Markdoc'
Expand Down
3 changes: 1 addition & 2 deletions docs/pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import fs from 'fs/promises'
import { globby } from 'globby'
import { type InferGetStaticPropsType, type GetStaticPropsResult } from 'next'
import Link from 'next/link'
import parse from 'date-fns/parse'
import format from 'date-fns/format'
import { parse, format } from 'date-fns'
import { jsx } from '@emotion/react'

import { MWrapper } from '../../components/content/MWrapper'
Expand Down

0 comments on commit 4082a20

Please sign in to comment.