jup-ag / terminal

Jupiter Terminal is an open-sourced, lite version of Jupiter that provides end-to-end swap flow by linking it in your HTML.
https://terminal.jup.ag
81 stars 46 forks source link

Input (.) into InputMint crashes the swap ui #65

Closed thekesslereffect closed 3 months ago

thekesslereffect commented 6 months ago

When you press . instead of 0.# the ui crashes.

thekesslereffect commented 5 months ago

In case you don't understand what I mean: If you input a period first, instead of 0 then period, it will crash the ui.

image image

thekesslereffect commented 5 months ago

Also the bottom token displays Lamports instead of SOL for my mint address ( CErSpNnEHUNsNw3AZJhyvekwhMpr9H3W2S71uA3pzJus ) . So that's a bit confusing.

worlddlckgh commented 4 months ago

Decimals issue are fixed on version 2.3.0 https://github.com/jup-ag/terminal/pull/74

worlddlckgh commented 4 months ago

Also the bottom token displays Lamports instead of SOL for my mint address ( CErSpNnEHUNsNw3AZJhyvekwhMpr9H3W2S71uA3pzJus ) . So that's a bit confusing.

can you clarify on this?