Skip to content

Commit 4897858

Browse files
committed
fix comment
1 parent 2909fee commit 4897858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/components/inline-item-editor/InlineItemEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const InlineItemEditor = (props: Props) => {
140140
const isDisabledApply = (): boolean =>
141141
!!(isLoading || isError || isDisabled || (disableEmpty && !value.length))
142142

143-
const ApplyBtn = () => (
143+
const ApplyBtn = (
144144
<EuiToolTip
145145
anchorClassName={styles.tooltip}
146146
position="bottom"
@@ -218,7 +218,7 @@ const InlineItemEditor = (props: Props) => {
218218
isDisabled={isLoading}
219219
data-testid="cancel-btn"
220220
/>
221-
<ApplyBtn />
221+
{ApplyBtn}
222222
</div>
223223
</EuiForm>
224224
</EuiFocusTrap>

0 commit comments

Comments
 (0)