From c29043621649e623ae5f28b060460cf9c2aaf554 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 10 Jun 2024 14:04:23 +0200 Subject: [PATCH] linting --- .../panels/sourcecontrol/sourcecontrolitem.tsx | 2 +- .../sourcecontrol/sourcontrolitembuttons.tsx | 16 ++++++++-------- libs/remix-ui/git/src/lib/gitactions.ts | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcecontrolitem.tsx b/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcecontrolitem.tsx index f0017504e9..64617b17e1 100644 --- a/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcecontrolitem.tsx +++ b/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcecontrolitem.tsx @@ -48,7 +48,7 @@ export const SourceControlItem = (props: SourceControlItemProps) => { ) } - if(!file.statusNames || file.statusNames.length === 0) return null + if (!file.statusNames || file.statusNames.length === 0) return null return (<>
diff --git a/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcontrolitembuttons.tsx b/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcontrolitembuttons.tsx index 75c7e7256d..d1ba05ef1f 100644 --- a/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcontrolitembuttons.tsx +++ b/libs/remix-ui/git/src/components/panels/sourcecontrol/sourcontrolitembuttons.tsx @@ -22,23 +22,23 @@ export const SourceControlItemButtons = (props: SourceControlItemButtonsProps) = return <> {status && status.indexOf("modified") === -1 ? <> : - } {status && status.indexOf("deleted") === -1 ? <> : - } {status && status.indexOf("deleted") !== -1 ? <> : - } @@ -51,7 +51,7 @@ export const SourceControlItemButtons = (props: SourceControlItemButtonsProps) = <> + } {status && status.indexOf("modified") === -1 ? <> :