From a6e76bab312ccc1d87b656489fa5781f92d75d3e Mon Sep 17 00:00:00 2001 From: zeppi Date: Thu, 27 May 2021 12:13:13 -0400 Subject: [PATCH] fix: ignore flow linter promise allsettled --- ui/redux/actions/comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/redux/actions/comments.js b/ui/redux/actions/comments.js index 3244470ee..79729eff9 100644 --- a/ui/redux/actions/comments.js +++ b/ui/redux/actions/comments.js @@ -536,7 +536,7 @@ export function doCommentModToggleBlock(channelUri: string, unblock: boolean = f }; const commentAction = unblock ? Comments.moderation_unblock : Comments.moderation_block; - + // $FlowFixMe return Promise.allSettled( channelSignatures.map((signatureData) => commentAction({ @@ -600,7 +600,7 @@ export function doFetchModBlockedList() { } catch (e) {} } } - + // $FlowFixMe return Promise.allSettled( channelSignatures.map((signatureData) => Comments.moderation_block_list({