From 1ccb39a45dfa41fe4e38a2826408b34530deb43a Mon Sep 17 00:00:00 2001 From: lme-axelor <102581501+lme-axelor@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:26:12 +0100 Subject: [PATCH] chore: avoid imports reverse & remove control of story --- packages/ui/src/components/organisms/ChipSelect/ChipSelect.tsx | 2 +- packages/ui/stories/organisms/ChipSelect.stories.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/organisms/ChipSelect/ChipSelect.tsx b/packages/ui/src/components/organisms/ChipSelect/ChipSelect.tsx index 38c1b2a54..b7cb94d52 100644 --- a/packages/ui/src/components/organisms/ChipSelect/ChipSelect.tsx +++ b/packages/ui/src/components/organisms/ChipSelect/ChipSelect.tsx @@ -18,8 +18,8 @@ import React, {useEffect, useMemo, useState} from 'react'; import {Dimensions, StyleSheet, View, ScrollView} from 'react-native'; -import {Button, Chip} from '../../molecules'; import {useThemeColor, Color} from '../../../theme'; +import {Button, Chip} from '../../molecules'; const CHIP_CONTAINER_MARGIN = 16; const CHIP_MARGIN = 2; diff --git a/packages/ui/stories/organisms/ChipSelect.stories.tsx b/packages/ui/stories/organisms/ChipSelect.stories.tsx index 451876e39..83a9fc0af 100644 --- a/packages/ui/stories/organisms/ChipSelect.stories.tsx +++ b/packages/ui/stories/organisms/ChipSelect.stories.tsx @@ -44,6 +44,7 @@ export const ChipSelect: Story = { option2_color: 'plannedColor', option3_title: 'Option 3', option3_color: 'infoColor', + showClearButton: false, }, argTypes: { option1_color: colorPicker, @@ -52,7 +53,6 @@ export const ChipSelect: Story = { selectionItems: disabledControl, isRefresh: disabledControl, onChangeValue: disabledControl, - showClearButton: {control: 'boolean'}, }, render: args => (