File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/content/reference/react Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ export default function Checkout() {
177177 < button onClick= {handleClick}> Add Ticket{isPending ? ' 🌀' : ' ' }< / button>
178178 < / div>
179179 < hr / >
180- < Total quantity= {count} / >
180+ < Total quantity= {count} / >
181181 < / div>
182182 );
183183}
@@ -190,11 +190,11 @@ const formatter = new Intl.NumberFormat('en-US', {
190190 minimumFractionDigits: 0 ,
191191});
192192
193- export default function Total ({quantity, isPending }) {
193+ export default function Total ({quantity}) {
194194 return (
195195 < div className= " row total" >
196196 < span> Total< / span>
197- < span> {isPending ? ' 🌀 Updating... ' : formatter .format (quantity * 9999 )}< / span>
197+ < span> {formatter .format (quantity * 9999 )}< / span>
198198 < / div>
199199 );
200200}
You can’t perform that action at this time.
0 commit comments