Skip to content

Commit

Permalink
add transactions as the first tab and selected by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jwyman328 committed Dec 1, 2024
1 parent 0f39d6e commit 1923545
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/app/pages/Privacy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,24 @@ export const Privacy = ({ btcMetric }: PrivacyProps) => {
<Tabs
variant="default"
orientation="vertical"
defaultValue={PrivacyTabs.UTXOS_STXOS}
defaultValue={PrivacyTabs.TRANSACTIONS}
style={{ height: '100%' }}
>
<Tabs.List grow>
<Tabs.Tab
className="h-1/2"
value={PrivacyTabs.UTXOS_STXOS}
leftSection={<IconCoins style={iconStyle} />}
value={PrivacyTabs.TRANSACTIONS}
leftSection={<IconArrowsDownUp style={iconStyle} />}
>
<div>UTXOS</div> <div> STXOS</div>
Transactions
</Tabs.Tab>

<Tabs.Tab
className="h-1/2"
value={PrivacyTabs.TRANSACTIONS}
leftSection={<IconArrowsDownUp style={iconStyle} />}
value={PrivacyTabs.UTXOS_STXOS}
leftSection={<IconCoins style={iconStyle} />}
>
Transactions
<div>UTXOS</div> <div> STXOS</div>
</Tabs.Tab>
{/*
// TODO add this back in once the preview feature is complete
Expand Down

0 comments on commit 1923545

Please sign in to comment.