diff --git a/src/index.tsx b/src/index.tsx index 5d61a84..f754fe9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,5 @@ import ReactDOM from 'react-dom/client' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' -const CryptoConvert = require('crypto-convert').default import App from './App' import reportWebVitals from './reportWebVitals' @@ -8,6 +7,8 @@ import { convertConfig } from './utils/Constants' import './index.css' +const CryptoConvert = require('crypto-convert').default + export const convert = new CryptoConvert(convertConfig) const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)