Skip to content

Commit

Permalink
feat: update price precision
Browse files Browse the repository at this point in the history
  • Loading branch information
bartosz-lipinski committed Nov 2, 2020
1 parent 603f230 commit 3ae2977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/currencyPair.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function CurrencyPairProvider({ children = null as any }) {
if (typeof result === "string") {
setDependent(result);
} else if (result !== undefined && Number.isFinite(result)) {
setDependent(result.toFixed(2));
setDependent(result.toFixed(6));
} else {
setDependent("");
}
Expand Down

0 comments on commit 3ae2977

Please sign in to comment.