Skip to content

Commit 24e2114

Browse files
committed
fix: correct OverviewFlowNode data type for stricter type checking
1 parent 9ca7fab commit 24e2114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AlgorithmOverview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function OverviewFlowNode({
2828
data,
2929
selected,
3030
}: {
31-
data: Record<string, unknown>;
31+
data: { label: string; category: string; [key: string]: unknown };
3232
selected: boolean;
3333
}) {
3434
const colorClass =

0 commit comments

Comments
 (0)