diff --git a/apps/client/src/widgets/ribbon/NotePathsTab.tsx b/apps/client/src/widgets/ribbon/NotePathsTab.tsx index 29e85e452..da1a5c248 100644 --- a/apps/client/src/widgets/ribbon/NotePathsTab.tsx +++ b/apps/client/src/widgets/ribbon/NotePathsTab.tsx @@ -1,12 +1,13 @@ -import { TabContext } from "./ribbon-interface"; +import { useEffect, useMemo, useState } from "preact/hooks"; + +import FNote, { NotePathRecord } from "../../entities/fnote"; import { t } from "../../services/i18n"; +import { NOTE_PATH_TITLE_SEPARATOR } from "../../services/tree"; import Button from "../react/Button"; import { useTriliumEvent } from "../react/hooks"; -import { useEffect, useMemo, useState } from "preact/hooks"; -import FNote, { NotePathRecord } from "../../entities/fnote"; import NoteLink from "../react/NoteLink"; import { joinElements } from "../react/react_utils"; -import { NOTE_PATH_TITLE_SEPARATOR } from "../../services/tree"; +import { TabContext } from "./ribbon-interface"; export default function NotePathsTab({ note, hoistedNoteId, notePath }: TabContext) { const sortedNotePaths = useSortedNotePaths(note, hoistedNoteId); @@ -21,6 +22,7 @@ export default function NotePathsTab({ note, hoistedNoteId, notePath }: TabConte