Skip to content

Commit 88f71a2

Browse files
committed
regenerate code on rename
1 parent c286ba1 commit 88f71a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ const App: React.FC = (): React.JSX.Element => {
324324
} else {
325325
setGeneratedCode('');
326326
}
327-
}, [currentModule, triggerPythonRegeneration, blocklyComponent]);
327+
}, [currentModule, project, triggerPythonRegeneration, blocklyComponent]);
328328

329329
// Update toolbox when module or categories change
330330
React.useEffect(() => {

0 commit comments

Comments
 (0)