import { useState } from 'react'; import { money, positionAmount, nowMinute, requestUuid, type Position } from './api'; import { t as tr } from './i18n'; export function QuickTransfer({ source, target, busy, changeSource, changeTarget, submit, }: { source: Position; target: Position; busy: boolean; changeSource: () => void; changeTarget: () => void; submit: (data: unknown) => void; }) { const [amount, setAmount] = useState(''); const [requestId] = useState(requestUuid); const same = source.currency === target.currency; return (
); }