Update quick-actions.tsx

This commit is contained in:
Marcos Rodriguez Velez 2024-01-05 20:59:58 -04:00
parent a6344e3bcc
commit 993ddabe04
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -114,7 +114,7 @@ function DeviceQuickActions(): JSX.Element | null {
};
const handleOpenURL = (event: { url: string }): void => {
DeeplinkSchemaMatch.navigationRouteFor(event, (value: any) => NavigationService.navigate(...value), {
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => NavigationService.navigate(...value), {
wallets,
addWallet,
saveToDisk,
@ -149,7 +149,7 @@ function DeviceQuickActions(): JSX.Element | null {
const setQuickActions = async (): Promise<void> => {
// @ts-ignore: Fix later
if (await DeviceQuickActions.getEnabled()) {
QuickActions.isSupported((error, _supported) => {
QuickActions.isSupported((error: null, _supported: any) => {
if (error === null) {
const shortcutItems = [];
for (const wallet of wallets.slice(0, 4)) {