Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/obsidian/src/components/canvas/TldrawViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
} from "~/components/canvas/shapes/DiscourseRelationBinding";
import ToastListener from "./ToastListener";
import { RelationsOverlay } from "./overlays/RelationOverlay";
import { DragHandleOverlay } from "./overlays/DragHandleOverlay";
import { showToast } from "./utils/toastUtils";

Check warning on line 50 in apps/obsidian/src/components/canvas/TldrawViewComponent.tsx

View workflow job for this annotation

GitHub Actions / eslint (apps/obsidian)

[eslint (apps/obsidian)] apps/obsidian/src/components/canvas/TldrawViewComponent.tsx#L50

'showToast' is defined but never used @typescript-eslint/no-unused-vars
Raw output
  50:10  warning  'showToast' is defined but never used  @typescript-eslint/no-unused-vars
import { WHITE_LOGO_SVG } from "~/icons";
import { CustomContextMenu } from "./CustomContextMenu";
import {
Expand Down Expand Up @@ -474,7 +476,10 @@
);
},
InFrontOfTheCanvas: () => (
<RelationsOverlay plugin={plugin} file={file} />
<>
<RelationsOverlay plugin={plugin} file={file} />
<DragHandleOverlay plugin={plugin} file={file} />
</>
),
}}
/>
Expand Down
Loading
Loading