fix steps
This commit is contained in:
parent
134dd0e796
commit
6f16789932
|
@ -17,5 +17,5 @@ export default meta
|
||||||
type Story = StoryObj<typeof meta>
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
export const Default: Story = {
|
export const Default: Story = {
|
||||||
args: {},
|
args: {advisoriesIcons: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'], subStepAdvisories: 0},
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,8 +26,6 @@ const Advisories = ({ advisoriesIcons, subStepAdvisories }: AdvisoriesProps) =>
|
||||||
return index <= subStepAdvisories ? true : false;
|
return index <= subStepAdvisories ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isSameTitle = (title: string) => selectedTitle === title
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<XStack
|
<XStack
|
||||||
style={{ padding: '30px 33px', justifyContent: 'space-between' }}
|
style={{ padding: '30px 33px', justifyContent: 'space-between' }}
|
||||||
|
|
Loading…
Reference in New Issue