fix: fix unmount() problem

This commit is contained in:
Jonas Juselius
2024-09-23 13:47:51 +02:00
parent 390b89feb3
commit 9c433469f7

View File

@@ -34,7 +34,8 @@ type ReactDirective() =
member _.disconnected() =
if not(isNull _domEl) then
ReactDom.unmountComponentAtNode(_domEl) |> ignore
_root.unmount()
type React =
/// <summary>