Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Feb 25, 2019
1 parent 59b8cfc commit c71396b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src-docs/src/views/date_picker/super_date_picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ function MyCustomQuickSelectPanel({ applyTime }) {
export default class extends Component {

state = {
refreshInterval: 1000,
isPaused: true,
recentlyUsedRanges: [],
isLoading: false,
showUpdateButton: true,
Expand All @@ -54,9 +52,7 @@ export default class extends Component {
}

onRefresh = ({ start, end, refreshInterval }) => {
console.log('onRefresh was called');
return new Promise((resolve) => {

setTimeout(resolve, 100);
}).then(() => {
console.log(start, end, refreshInterval);
Expand Down

0 comments on commit c71396b

Please sign in to comment.