From 309dcabdf68c43527829785be8a57d00d4e86907 Mon Sep 17 00:00:00 2001 From: AliKdhim87 Date: Sun, 20 Feb 2022 11:06:57 +0100 Subject: [PATCH] perf(version): correcting version BREAKING CHANGE: previous version supposed to be breaking change changes refer to 0613e0ed5ef206d431267c9569e97128d273b4d6 --- src/components/portal/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/portal/index.tsx b/src/components/portal/index.tsx index 3d6b995..6332593 100644 --- a/src/components/portal/index.tsx +++ b/src/components/portal/index.tsx @@ -23,5 +23,6 @@ export const Portal: React.FC = ({children, parent, className}) => target?.removeChild(el) } }, [el, parent, className]) + return ReactDOM.createPortal(children, el) }