Skip to content

Commit 4f08754

Browse files
committed
fix: different decimals bug on change pay token
1 parent fafaac6 commit 4f08754

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/store/swap.store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ export const useSwapStore = create<SwapActions & SwapStates>((set, get) => ({
201201
set(() => ({
202202
pay_token: token,
203203
pay_rate: tokenRate ?? null,
204+
pay_amount: 0n,
204205
receive_rate: null,
205206
receive_token: null,
206207
bestRoute: null,

0 commit comments

Comments
 (0)