diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/Modal.tsx | 6 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/Portal.tsx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/Modal.tsx b/packages/taler-wallet-webextension/src/mui/Modal.tsx index b24a45d61..7b1cf3f3a 100644 --- a/packages/taler-wallet-webextension/src/mui/Modal.tsx +++ b/packages/taler-wallet-webextension/src/mui/Modal.tsx @@ -81,9 +81,9 @@ export function Modal({ return ( <Portal - ref={handlePortalRef} - container={container} - // disablePortal={disablePortal} + // ref={mountNodeRef} + // container={container} + // disablePortal={disablePortal} > <div class={[_class, baseStyle].join(" ")} diff --git a/packages/taler-wallet-webextension/src/mui/Portal.tsx b/packages/taler-wallet-webextension/src/mui/Portal.tsx index f9be021f0..2026d7e5a 100644 --- a/packages/taler-wallet-webextension/src/mui/Portal.tsx +++ b/packages/taler-wallet-webextension/src/mui/Portal.tsx @@ -92,7 +92,7 @@ export const Portal = forwardRef(function Portal( ) : ( <Fragment /> ); -}); +} as any); function getContainer(container: any): any { return typeof container === "function" ? container() : container; |