Skip to content

Commit e8132a1

Browse files
committed
fix(mobile): type asset detail deeplink params
1 parent 9495b71 commit e8132a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/ledger-live-mobile/src/mvvm/features/AssetDetail/utils/getActionFromAssetDetailDeeplinkState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function hasMarketStateParam(params: unknown): params is { marketState: unknown
1313
return false;
1414
}
1515

16-
return "marketState" in params && params.marketState !== undefined;
16+
return (params as { marketState?: unknown }).marketState !== undefined;
1717
}
1818

1919
function isAssetDetailTokenState(state: DeeplinkState): boolean {

0 commit comments

Comments
 (0)