mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-08-07 17:45:43 +00:00
Fix TypeScript errors and update dependencies
- Fix ReactPortal return types in PopupWindow, Tooltip, Modal - Fix RefObject type compatibility for React 18 - Update extension-dapp dependency to 0.62.19 - Update vanitygen dependency to 1.0.1 - Add eslint-scope resolution for webpack - Remove unused @ts-expect-error directives - Update mobile test snapshots
This commit is contained in:
@@ -24,7 +24,7 @@ interface Props {
|
||||
testId?: string;
|
||||
}
|
||||
|
||||
function ModalBase ({ children, className = '', header, onClose, size = 'medium', testId = 'modal' }: Props): React.ReactElement<Props> {
|
||||
function ModalBase ({ children, className = '', header, onClose, size = 'medium', testId = 'modal' }: Props): React.ReactPortal {
|
||||
const { themeClassName } = useTheme();
|
||||
|
||||
const listenKeyboard = useCallback((event: KeyboardEvent) => {
|
||||
|
||||
Reference in New Issue
Block a user