chore(react/floating_buttons): fix wrong import of fnote

This commit is contained in:
Elian Doran 2025-08-28 20:28:55 +03:00
parent 938d295bf3
commit af0ba32dd9
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View File

@ -64,7 +64,7 @@ export interface NoteMetaData {
/**
* Note is the main node and concept in Trilium.
*/
class FNote {
export default class FNote {
private froca: Froca;
noteId!: string;
@ -1035,5 +1035,3 @@ class FNote {
return await server.get<NoteMetaData>(`notes/${this.noteId}/metadata`);
}
}
export default FNote;

View File

@ -1,6 +1,6 @@
import { NoteType } from "@triliumnext/commons";
import { ViewTypeOptions } from "./note_list_renderer";
import { FNote } from "./frontend_script_entrypoint";
import FNote from "../entities/fnote";
export const byNoteType: Record<Exclude<NoteType, "book">, string | null> = {
canvas: null,

View File

@ -1,6 +1,6 @@
import dayjs from "dayjs";
import type { ViewScope } from "./link.js";
import { FNote } from "./frontend_script_entrypoint.js";
import FNote from "../entities/fnote";
const SVG_MIME = "image/svg+xml";