fix backlinks type and imports
This commit is contained in:
parent
72289219eb
commit
58b03b3b96
@ -1,8 +1,8 @@
|
||||
import Head from "next/head";
|
||||
import Layout from "../../components/Layout";
|
||||
import Util from "../../lib/utils"
|
||||
import FolderTree from "../../components/FolderTree";
|
||||
import MDContent from "../../components/MDContent";
|
||||
import Layout from "components/Layout";
|
||||
import Util from "lib/utils"
|
||||
import FolderTree from "components/FolderTree";
|
||||
import MDContent, { type LinkType } from "components/MDContent";
|
||||
import type { GetStaticProps } from "next/types";
|
||||
import type { ParsedUrlQuery } from "querystring";
|
||||
|
||||
@ -12,7 +12,7 @@ interface HomeProps {
|
||||
content: string
|
||||
tree: Record<string, unknown>
|
||||
flattenNodes: unknown[]
|
||||
backLinks: unknown[]
|
||||
backLinks: LinkType[]
|
||||
}
|
||||
|
||||
export default function Home({ note, backLinks, fileNames: _, tree, flattenNodes }: HomeProps) {
|
||||
|
Loading…
Reference in New Issue
Block a user