Skip to content

Commit 0f43fc3

Browse files
committed
Merge branch 'fix-for-prop-update' of https://github.com/zaidchauhan/react-countdown-clock into zaidchauhan-fix-for-prop-update
2 parents 42bf7c8 + a74eb80 commit 0f43fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coffee/react-countdown-clock.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ReactCountdownClock = CreateReactClass
1414

1515
componentDidUpdate: (props) ->
1616
if props.seconds != @props.seconds
17-
@_seconds = props.seconds
17+
@_seconds = @props.seconds
1818
@_setupTimer()
1919

2020
if props.color != @props.color

0 commit comments

Comments
 (0)