mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-04 23:16:47 +00:00
chore: prettier-plugin-sort-imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Block } from 'notion-types'
|
||||
import { defaultMapImageUrl } from 'react-notion-x'
|
||||
|
||||
import { defaultPageIcon, defaultPageCover } from './config'
|
||||
import { defaultPageCover, defaultPageIcon } from './config'
|
||||
|
||||
export const mapImageUrl = (url: string, block: Block) => {
|
||||
if (url === defaultPageCover || url === defaultPageIcon) {
|
||||
|
||||
Reference in New Issue
Block a user