Skip to content

Commit

Permalink
Remove last bits of Moment (Hacker0x01#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrusschen authored Nov 17, 2018
1 parent f2f6552 commit f0263ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"react-scripts": "0.2.0"
},
"dependencies": {
"moment": "^2.15.1",
"react": "^15.2.1",
"react-datepicker": "^0.30.0",
"react-dom": "^15.2.1"
Expand Down
3 changes: 1 addition & 2 deletions examples/hello-world/src/App.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import React, { Component } from "react";
import DatePicker from "react-datepicker";
import moment from "moment";

import "react-datepicker/dist/react-datepicker.css";

class App extends Component {
constructor() {
super();
this.state = {
startDate: moment()
startDate: new Date()
};
}

Expand Down
1 change: 0 additions & 1 deletion rollup.umd.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const umdConfig = Object.assign({}, config, {
"prop-types": "PropTypes",
"react-onclickoutside": "onClickOutside",
"react-popper": "ReactPopper",
moment: "moment",
classnames: "classNames"
}
});
Expand Down

0 comments on commit f0263ea

Please sign in to comment.