Clear existing trade ID when starting new booking
This commit is contained in:
parent
cdda5ec2d5
commit
62721cbcf4
1 changed files with 1 additions and 0 deletions
|
|
@ -255,6 +255,7 @@ export default function ExchangePage() {
|
||||||
|
|
||||||
setIsBooking(true);
|
setIsBooking(true);
|
||||||
setError(null);
|
setError(null);
|
||||||
|
setExistingTradeId(null);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await api.post<ExchangeResponse>("/api/exchange", {
|
await api.post<ExchangeResponse>("/api/exchange", {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue