diff --git a/app/src/components/Demo/Mouse.tsx b/app/src/components/Demo/Mouse.tsx index 6bbb520..6cbc2ec 100644 --- a/app/src/components/Demo/Mouse.tsx +++ b/app/src/components/Demo/Mouse.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { Theme, withStyles } from '@material-ui/core' -import cursor from './cursor.png' +const cursor = require('./cursor.png') interface State { enabled: boolean diff --git a/app/src/components/SettingsDrawer/TimeLocale.tsx b/app/src/components/SettingsDrawer/TimeLocale.tsx index 802a690..0f28c43 100644 --- a/app/src/components/SettingsDrawer/TimeLocale.tsx +++ b/app/src/components/SettingsDrawer/TimeLocale.tsx @@ -6,7 +6,7 @@ import { connect } from 'react-redux' import { Input, InputLabel, MenuItem, Select, StyleRulesCallback, Theme } from '@material-ui/core' import { settingsActions } from '../../actions' import { withStyles } from '@material-ui/styles' -const moment = require('moment/min/moment-with-locales') +import * as moment from 'moment' interface Props { actions: {