change(ui): remove segments for mobile since it has only one category

This commit is contained in:
Shekar Siri 2025-02-20 15:31:19 +01:00
parent aa07d41bb5
commit 7cfe29adf3

View file

@ -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">