Skip to content

Commit

Permalink
fix: increase Decimal precision
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed May 13, 2024
1 parent 33fa618 commit c96c8fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';

import { info } from '@logger';
import * as Sentry from '@sentry/react';
import Decimal from 'decimal.js';
import { createRoot } from 'react-dom/client';
import { useNavigate } from 'react-router-dom';
import { useDisconnect } from 'wagmi';
Expand All @@ -10,6 +11,8 @@ import { queryClient } from '@api/client';

import App from './App';

Decimal.set({ precision: 30, rounding: 3 });

declare global {
interface process {
env: {
Expand Down

0 comments on commit c96c8fd

Please sign in to comment.