Allow for Component Token Overrides.
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import * as Sentry from "@sentry/react";
|
||||
//import "antd/dist/antd.css";
|
||||
// import "antd/dist/antd.less";
|
||||
import Dinero from "dinero.js";
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
@@ -14,7 +12,10 @@ import { persistor, store } from "./redux/store";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import "./translations/i18n";
|
||||
import "./utils/CleanAxios";
|
||||
import {ConfigProvider} from "antd";
|
||||
//import { BrowserTracing } from "@sentry/tracing";
|
||||
//import "antd/dist/antd.css";
|
||||
// import "antd/dist/antd.less";
|
||||
|
||||
// Dinero.defaultCurrency = "CAD";
|
||||
// Dinero.globalLocale = "en-CA";
|
||||
@@ -60,7 +61,18 @@ function App() {
|
||||
</PersistGate>
|
||||
);
|
||||
}
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(<App />);
|
||||
|
||||
// Used for ANTD Component Tokens
|
||||
// https://ant.design/docs/react/migrate-less-variables
|
||||
const themeConfig = {
|
||||
};
|
||||
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<ConfigProvider theme={themeConfig}>
|
||||
<App />
|
||||
</ConfigProvider>
|
||||
);
|
||||
|
||||
|
||||
// const onServiceWorkerUpdate = (registration) => {
|
||||
|
||||
Reference in New Issue
Block a user