chore(warnings): add error codes to documentation site

This commit is contained in:
Christopher Möller
2022-04-28 16:27:19 +02:00
parent 922005e236
commit 9331ccc544
7 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ function useResizeHandler(rendererNode: MutableRefObject<HTMLDivElement | null>)
if (size.height === 0 || size.width === 0) {
console.warn(
'[React Flow]: The React Flow parent container needs a width and a height to render the graph. Help: https://reactflow.dev/docs/guides/troubleshooting'
'[React Flow]: The React Flow parent container needs a width and a height to render the graph. Help: https://reactflow.dev/error-decoder#400'
);
}