Adjust roudning mode.

This commit is contained in:
Patrick Fic
2021-03-24 14:33:39 -07:00
parent 55120c0ab0
commit a49f4e4287
2 changed files with 16 additions and 16 deletions

View File

@@ -21,22 +21,22 @@ require("dotenv").config();
// Dinero.defaultCurrency = "CAD";
// Dinero.globalLocale = "en-CA";
Dinero.globalRoundingMode = "HALF_UP";
Dinero.globalRoundingMode = "HALF_EVEN";
//if (process.env.NODE_ENV !== "development") {
Sentry.init({
dsn:
"https://fd7e89369b6b4bdc9c6c4c9f22fa4ee4@o492140.ingest.sentry.io/5651027",
integrations: [
// new Integrations.BrowserTracing(),
// new Sentry.Integrations.Breadcrumbs({ console: true }),
],
environment: process.env.NODE_ENV,
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
// tracesSampleRate: 0.5,
});
//}
if (process.env.NODE_ENV !== "development") {
Sentry.init({
dsn:
"https://fd7e89369b6b4bdc9c6c4c9f22fa4ee4@o492140.ingest.sentry.io/5651027",
integrations: [
// new Integrations.BrowserTracing(),
// new Sentry.Integrations.Breadcrumbs({ console: true }),
],
environment: process.env.NODE_ENV,
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
// tracesSampleRate: 0.5,
});
}
ReactDOM.render(
<Provider store={store}>