File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
002-checkout/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import pluralize from 'pluralize'
33
44var OrderSummary = React . createClass ( {
55 render : function ( ) {
6- var duration = this . props . duration + " " + pluralize ( 'day' , this . props . duration ) ;
6+ var duration = this . props . duration + " " + pluralize ( 'day' , parseInt ( this . props . duration ) ) ;
77
88 // Initial total Calculation
99 var initialTotal = this . props . duration * this . props . price ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react'
22import pluralize from 'pluralize'
33
44function Information ( props ) {
5- var duration = pluralize ( 'day' , props . duration ) ;
5+ var duration = pluralize ( 'day' , parseInt ( props . duration ) ) ;
66
77 return (
88 < div className = "WorkspaceInformation" >
You can’t perform that action at this time.
0 commit comments