diff --git a/src/components/markdown.tsx b/src/components/markdown.tsx index 7c6dc944..da1052c3 100644 --- a/src/components/markdown.tsx +++ b/src/components/markdown.tsx @@ -653,7 +653,7 @@ function NoteLink({ id, text }: NoteLinkProps) { ) : null} {text} diff --git a/src/components/note-favicon.tsx b/src/components/note-favicon.tsx index 3c85c77f..83764c04 100644 --- a/src/components/note-favicon.tsx +++ b/src/components/note-favicon.tsx @@ -6,16 +6,16 @@ import { WebsiteFavicon } from "./website-favicon" type NoteFaviconProps = React.ComponentPropsWithoutRef<"span"> & { note: Note - fallback?: React.ReactNode + defaultFavicon?: React.ReactNode } export function NoteFavicon({ note, className, - fallback = , + defaultFavicon = , ...props }: NoteFaviconProps) { - let icon = fallback + let icon = defaultFavicon // GitHub if (typeof note.frontmatter.github === "string") {