Skip to content

Commit 6437421

Browse files
committed
Fix invalid height and width
1 parent 699f664 commit 6437421

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
@@ -174,7 +174,7 @@ ReactCountdownClock = CreateReactClass
174174
@_timer.fill()
175175

176176
render: ->
177-
<div ref='component' className="react-countdown-clock" style={width:{@props.size}, height:{@props.size}}>
177+
<div ref='component' className="react-countdown-clock" style={width: @props.size, height: @props.size}>
178178
<canvas ref='background' style={ position: 'absolute' } width={@props.size} height={@props.size}></canvas>
179179
<canvas ref='timer' style={ position: 'absolute' } width={@props.size} height={@props.size}></canvas>
180180
</div>

0 commit comments

Comments
 (0)