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
@@ -942,18 +942,28 @@ exports[`DashboardScreen should match snapshot 1`] = `
]
}
>
<Text
<View
style={
{
"color": "#000000",
"fontSize": 16,
"fontWeight": "800",
"letterSpacing": 0.5,
"alignItems": "center",
"flexDirection": "row",
"gap": 10,
}
}
>
FINANCE 💰
</Text>
<Text
style={
{
"color": "#000000",
"fontSize": 16,
"fontWeight": "800",
"letterSpacing": 0.5,
}
}
>
FINANCE 💰
</Text>
</View>
<View
accessibilityState={
{
@@ -25,75 +25,12 @@ exports[`SwapScreen should match snapshot 1`] = `
<View
style={
{
"alignItems": "center",
"flexDirection": "row",
"justifyContent": "space-between",
"marginBottom": 20,
"justifyContent": "flex-end",
"marginBottom": 12,
}
}
>
<View
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"alignItems": "center",
"backgroundColor": "#F5F5F5",
"borderRadius": 20,
"height": 40,
"justifyContent": "center",
"opacity": 1,
"width": 40,
}
}
>
<Text
style={
{
"color": "#333",
"fontSize": 24,
}
}
>
</Text>
</View>
<Text
style={
{
"color": "#333",
"fontSize": 20,
"fontWeight": "bold",
}
}
>
Swap Tokens
</Text>
<View
accessibilityState={
{