From 1e3a495dbc214daa2144c7f3b8f6e4d51b629b32 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 25 Jun 2021 10:38:28 +0530 Subject: [PATCH] linting fix --- .../static-analyser/src/lib/remix-ui-static-analyser.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx index 239a864c0b..ecb62d5919 100644 --- a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx +++ b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx @@ -134,10 +134,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { const showWarningsByModule = (showOnlyModule: string) => { let count = 0 - if(allWarnings[showOnlyModule]) { + if (allWarnings[showOnlyModule]) { const newWarningState = {} newWarningState[showOnlyModule] = allWarnings[showOnlyModule] - setWarningState({[showOnlyModule]: allWarnings[showOnlyModule]}) + setWarningState({ [showOnlyModule]: allWarnings[showOnlyModule] }) count = allWarnings[showOnlyModule].length } else if (showOnlyModule === 'all') { setWarningState(allWarnings)