mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 16:16:50 +00:00
Fix issue when switching versions and generators at the same time
This commit is contained in:
@@ -148,7 +148,6 @@ export function SourcePanel({ docAndNode, doCopy, doDownload, doImport, copySucc
|
||||
}
|
||||
}, [highlighting])
|
||||
|
||||
// TODO: when file contents change, retransform
|
||||
useEffect(() => {
|
||||
if (retransform.current && text !== undefined) {
|
||||
retransform.current()
|
||||
|
||||
Reference in New Issue
Block a user