From 29dbbc2a24025756f9e66243cfac34f2121cd751 Mon Sep 17 00:00:00 2001 From: Franco Montenegro Date: Mon, 12 Sep 2022 19:17:35 -0300 Subject: [PATCH] Ignore lint warning. --- flow-typed/Lbry.js | 2 +- ui/redux/actions/claims.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flow-typed/Lbry.js b/flow-typed/Lbry.js index 64b94d54e21..abf8cebb5cb 100644 --- a/flow-typed/Lbry.js +++ b/flow-typed/Lbry.js @@ -77,7 +77,7 @@ declare type ResolveResponse = { // Keys are the url(s) passed to resolve [string]: { error?: { - censor?: string, + censor?: {}, text?: string, }, stream?: StreamClaim, diff --git a/ui/redux/actions/claims.js b/ui/redux/actions/claims.js index 1203033a801..1c1ceb5c3a7 100644 --- a/ui/redux/actions/claims.js +++ b/ui/redux/actions/claims.js @@ -90,7 +90,9 @@ export function doResolveUris( resolveInfo[uri] = { ...fallbackResolveInfo, errorCensor: { + // $FlowFixMe ...uriResolveInfo.error.censor, + // $FlowFixMe text: uriResolveInfo.error.text, }, };