We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76722aa commit f55fd28Copy full SHA for f55fd28
src/components/CanvasPyInterpreter.tsx
@@ -138,6 +138,8 @@ export default function CanvasPyInterpreter() {
138
useEffect(() => {
139
setCode(canvasData?.content ?? '');
140
runCode(canvasData?.content ?? '').then(() => {});
141
+ // no need to keep track of runCode
142
+ // eslint-disable-next-line react-hooks/exhaustive-deps
143
}, [canvasData?.content]);
144
145
if (canvasData?.type !== CanvasType.PY_INTERPRETER) {
0 commit comments