19.05.2026 okkk
This commit is contained in:
@@ -95,11 +95,19 @@ export function ConverterSection() {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={styles.tab}
|
className={styles.tab}
|
||||||
data-active={c.mode === 'buy' || undefined}
|
data-active={isUsdtToRub || undefined}
|
||||||
onClick={() => c.setMode('buy')}
|
onClick={() => setDirection('usdt_to_rub')}
|
||||||
>
|
>
|
||||||
КУПИТЬ
|
КУПИТЬ
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={styles.tab}
|
||||||
|
data-active={!isUsdtToRub || undefined}
|
||||||
|
onClick={() => setDirection('rub_to_usdt')}
|
||||||
|
>
|
||||||
|
ПРОДАТЬ
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{isUsdtToRub ? (
|
{isUsdtToRub ? (
|
||||||
|
|||||||
@@ -75,11 +75,19 @@ export function Converter() {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={styles.tab}
|
className={styles.tab}
|
||||||
data-active={c.mode === 'buy' || undefined}
|
data-active={isUsdtToRub || undefined}
|
||||||
onClick={() => c.setMode('buy')}
|
onClick={() => setDirection('usdt_to_rub')}
|
||||||
>
|
>
|
||||||
КУПИТЬ
|
КУПИТЬ
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={styles.tab}
|
||||||
|
data-active={!isUsdtToRub || undefined}
|
||||||
|
onClick={() => setDirection('rub_to_usdt')}
|
||||||
|
>
|
||||||
|
ПРОДАТЬ
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{isUsdtToRub ? (
|
{isUsdtToRub ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user