Skip to content

Commit eb8a59b

Browse files
committed
Use React-Clock 3.0
1 parent 50d1f5b commit eb8a59b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"make-event-props": "^1.1.0",
4646
"merge-class-names": "^1.1.1",
4747
"prop-types": "^15.6.0",
48-
"react-clock": "^2.3.0",
48+
"react-clock": "^3.0.0",
4949
"react-fit": "^1.0.3",
5050
"update-input-width": "^1.1.1"
5151
},

src/TimePicker.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import makeEventProps from 'make-event-props';
44
import mergeClassNames from 'merge-class-names';
55
import Fit from 'react-fit';
66

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

99
import TimeInput from './TimeInput';
1010

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4663,11 +4663,12 @@ [email protected]:
46634663
discontinuous-range "1.0.0"
46644664
ret "~0.1.10"
46654665

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

0 commit comments

Comments
 (0)