From 864f139770afbee591709a847200f1c203be77fa Mon Sep 17 00:00:00 2001 From: Finite <33845166+finia2NA@users.noreply.github.com> Date: Mon, 27 May 2024 02:01:51 +0200 Subject: [PATCH] remove... stuff --- src/components/KanjiGraph.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/KanjiGraph.tsx b/src/components/KanjiGraph.tsx index c5b0a32..c6c4777 100644 --- a/src/components/KanjiGraph.tsx +++ b/src/components/KanjiGraph.tsx @@ -1,5 +1,5 @@ -import { GraphCanvas, GraphCanvasRef, Theme, lightTheme, useSelection } from "reagraph"; -import getKanjiOrder, { KanjiNode } from "../logic/kanjiorder"; +import { GraphCanvas, GraphCanvasRef, lightTheme, useSelection } from "reagraph"; +import { KanjiNode } from "../logic/kanjiorder"; import { useRef } from "react"; export interface DisplayNode { @@ -20,7 +20,7 @@ interface KanjiGraphProps { kanjiRoot: KanjiNode; } -const KanjiGraph = ({ kanjiNodeList, kanjiRoot }: KanjiGraphProps) => { +const KanjiGraph = ({ kanjiNodeList }: KanjiGraphProps) => { // Data generation... const [nodes, edges]: [DisplayNode[], DisplayEdge[]] = [[], []]