Skip to content

Commit c53195a

Browse files
authored
Merge pull request #350 from rwilson504/codex/find-and-fix-important-bug
Fix Scheduler unmount bug
2 parents 6d14ef8 + acd8135 commit c53195a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scheduler/Scheduler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,6 @@ export class Scheduler implements ComponentFramework.StandardControl<IInputs, IO
172172

173173
public destroy(): void {
174174
// Unmount the React app
175-
ReactDOM.createRoot(this._container).unmount();
175+
this._reactRoot.unmount();
176176
}
177177
}

0 commit comments

Comments
 (0)