mirror of
https://github.com/mue/mue.git
synced 2026-07-27 10:41:08 +02:00
Finally stop using react-scripts
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
import Analog from 'react-clock';
|
||||
|
||||
import './clock.scss';
|
||||
@@ -28,7 +29,7 @@ export default class Clock extends React.PureComponent {
|
||||
// Analog clock
|
||||
if (localStorage.getItem('analog') === 'true') {
|
||||
require('react-clock/dist/Clock.css'); // load analog clock css
|
||||
|
||||
|
||||
this.setState({
|
||||
time: now
|
||||
});
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
import dtf from '@eartharoid/dtf';
|
||||
|
||||
export default class DateWidget extends React.PureComponent {
|
||||
|
||||
Reference in New Issue
Block a user