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:
2026-01-17 23:13:47 +03:00
parent 10ed6e78a5
commit 28f1f0de96
17 changed files with 44 additions and 95 deletions
@@ -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) => {