Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit dd2d1c3

Browse files
committed
fix error message
1 parent 0d7b4ea commit dd2d1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const EdgeTargetLengthErrorMessage = 'Edges must have at least 2 targets.';
22
export const NoGraphvizContextErrorMessage =
3-
'Cannot call useGraphvizContext outside GraphvizContext.\nCannot call useGraphvizContext outside context.\nBasically, you need to use the render function provided by @ts-graphviz/react.';
3+
'Cannot call useGraphvizContext outside GraphvizContext.\nBasically, you need to use the render function provided by @ts-graphviz/react.';
44
export const NoClusterErrorMessage = 'useCluster must be called within a cluster such as Digraph, Graph, Subgraph.';
55
export const DuplicatedRootClusterErrorMessage = 'RootCluster is duplicated.\nUse only one of Digraph and Graph.';

0 commit comments

Comments
 (0)