@@ -9,7 +9,7 @@ const ProConfig = (): JSX.Element => {
99 const [ isPro , setIsPro ] = useState < boolean | null > ( )
1010
1111 const showLimit = ( configLimit : number | 'Inf' ) : string => {
12- return configLimit === 'Inf' ? 'Unlimited' : configLimit . toString ( )
12+ return configLimit === 'Inf' || configLimit === Infinity ? 'Unlimited' : configLimit . toString ( )
1313 }
1414
1515 useEffect ( ( ) => {
@@ -35,37 +35,38 @@ const ProConfig = (): JSX.Element => {
3535 } , [ ] )
3636
3737 return < >
38- < h3 > PayButton Pro</ h3 >
38+ < h4 className = { style . section_header } > PayButton Pro</ h4 >
3939 < div className = { style . pro_ctn } >
4040 < div className = { stylep . label } >
4141 { text }
4242 </ div >
4343 { isPro === false && < ProPurchase /> }
44- < div className = { stylep . public_key_info_ctn } >
44+ < div className = "paybutton-table-ctn" >
4545 < table >
4646 < thead >
4747 < tr >
48- < th > </ th >
48+ < th > Account Limits </ th >
4949 < th > Standard</ th >
5050 < th > Pro</ th >
5151 </ tr >
52+ < tr className = "header-spacer" > </ tr >
5253 </ thead >
5354 < tbody >
5455 < tr >
5556 < td > Outgoing Emails on Payment</ td >
5657 < td > { showLimit ( config . proSettings . standardDailyEmailLimit ) } / day</ td >
5758 < td > { showLimit ( config . proSettings . proDailyEmailLimit ) } / day</ td >
5859 </ tr >
59- < tr >
60- < td > Addresses Per Button</ td >
61- < td > { showLimit ( config . proSettings . standardAddressesPerButtonLimit ) } </ td >
62- < td > { showLimit ( config . proSettings . proAddressesPerButtonLimit ) } </ td >
63- </ tr >
6460 < tr >
6561 < td > Outgoing Server-to-Server Messages On Payment</ td >
6662 < td > { showLimit ( config . proSettings . standardDailyPostLimit ) } / day</ td >
6763 < td > { showLimit ( config . proSettings . proDailyPostLimit ) } / day</ td >
6864 </ tr >
65+ < tr >
66+ < td > Addresses Per Button</ td >
67+ < td > { showLimit ( config . proSettings . standardAddressesPerButtonLimit ) } </ td >
68+ < td > { showLimit ( config . proSettings . proAddressesPerButtonLimit ) } </ td >
69+ </ tr >
6970 </ tbody >
7071 </ table >
7172 </ div >
0 commit comments