Skip to content

Commit

Permalink
Use React-Clock 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Aug 14, 2020
1 parent 50d1f5b commit eb8a59b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"make-event-props": "^1.1.0",
"merge-class-names": "^1.1.1",
"prop-types": "^15.6.0",
"react-clock": "^2.3.0",
"react-clock": "^3.0.0",
"react-fit": "^1.0.3",
"update-input-width": "^1.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/TimePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import makeEventProps from 'make-event-props';
import mergeClassNames from 'merge-class-names';
import Fit from 'react-fit';

import Clock from 'react-clock/dist/entry.nostyle';
import Clock from 'react-clock';

import TimeInput from './TimeInput';

Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4663,11 +4663,12 @@ randexp@0.4.6:
discontinuous-range "1.0.0"
ret "~0.1.10"

react-clock@^2.3.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/react-clock/-/react-clock-2.4.0.tgz#39540f84e16f8b2c2137640f535c162041bd2a1e"
integrity sha512-BlzkzbhLEzLwdqtl+PAPvzMhRvg4xyxsiQnGpb+ZzL4YY5iFQgJa7C48EUGhbpnTtNwyMuaBG4KeYmUuUlTQUQ==
react-clock@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/react-clock/-/react-clock-3.0.0.tgz#0d29f8e682ef516574061d1d24b1a286cb2da89b"
integrity sha512-D3K82D3YGcDtzxZCfiACLcDTL8cJXSgpdrzTY9ff3H5vflxlLzTSLF8apZRo6JZzOFrZQvw5mrS7TkQzj9nG0A==
dependencies:
"@wojtekmaj/date-utils" "^1.0.0"
merge-class-names "^1.1.1"
prop-types "^15.6.0"

Expand Down

0 comments on commit eb8a59b

Please sign in to comment.