fix: PageContent import
This commit is contained in:
@@ -20,7 +20,7 @@ import type { EditorView } from "@codemirror/view"
|
||||
import { DateInput } from "@mantine/dates"
|
||||
import { useQueryClient } from "@tanstack/react-query"
|
||||
|
||||
import { PageContent } from "~/components/common/PageContent"
|
||||
import PageContent from "~/components/common/PageContent"
|
||||
import { DashboardMain } from "~/components/dashboard/DashboardMain"
|
||||
import { OptionsButton } from "~/components/dashboard/OptionsButton"
|
||||
import { PublishButton } from "~/components/dashboard/PublishButton"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client"
|
||||
|
||||
import { PageContent } from "~/components/common/PageContent"
|
||||
import PageContent from "~/components/common/PageContent"
|
||||
import { useTranslation } from "~/lib/i18n/client"
|
||||
import { useGetPage } from "~/queries/page"
|
||||
import { useGetSite } from "~/queries/site"
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useState } from "react"
|
||||
import { useDate } from "~/hooks/useDate"
|
||||
import { useTranslation } from "~/lib/i18n/client"
|
||||
|
||||
import { PageContent } from "../common/PageContent"
|
||||
import PageContent from "../common/PageContent"
|
||||
|
||||
export const ImportPreview = ({ note }: { note: NoteMetadata }) => {
|
||||
const date = useDate()
|
||||
|
||||
Reference in New Issue
Block a user