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