diff --git a/src/web/utils/prepare.ts b/src/web/utils/prepare.ts index 7506a5fda..0679b5513 100644 --- a/src/web/utils/prepare.ts +++ b/src/web/utils/prepare.ts @@ -121,7 +121,7 @@ export const prepare = ( if (onPress !== null) { clean.onClick = props.onPress; } - if (props.href !== null) { + if (props.href !== null && props.href !== undefined) { clean.href = resolveAssetUri(props.href)?.uri; } return clean;