Skip to content

Commit

Permalink
CONFIG update import statement for moment to avoid error
Browse files Browse the repository at this point in the history
Module not found: Can't resolve './locale' in '/usr/src/app/node_modules/moment/src/lib/locale'
moment/moment#2979 (comment)
  • Loading branch information
bargar committed May 2, 2020
1 parent aaeec4e commit 49889cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/header/Headers.js
@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import moment from 'moment';
import * as moment from "moment/moment.js"
import { BUFFER_DAYS, DATA_CONTAINER_WIDTH } from 'libs/Const';
import { VIEW_MODE_DAY, VIEW_MODE_WEEK, VIEW_MODE_MONTH, VIEW_MODE_YEAR } from 'libs/Const';
import Config from 'libs/helpers/config/Config';
Expand Down

0 comments on commit 49889cc

Please sign in to comment.