change(ui): remove segments for mobile since it has only one category
This commit is contained in:
parent
aa07d41bb5
commit
7cfe29adf3
1 changed files with 7 additions and 5 deletions
|
|
@ -289,11 +289,13 @@ const AddCardSection = observer(
|
|||
) : null}
|
||||
</div>
|
||||
<div>
|
||||
<Segmented
|
||||
options={options}
|
||||
value={tab}
|
||||
onChange={(value) => setTab(value)}
|
||||
/>
|
||||
{options.length > 1 ? (
|
||||
<Segmented
|
||||
options={options}
|
||||
value={tab}
|
||||
onChange={(value) => setTab(value)}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
<div className="py-2">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue