Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Testing how we want the app to function with an onClick()

1 file modified

...

Code Block
languagejs
<tr onClick={() => alert(`${saleItem.salePrice}` + ' => ' + `${saleItem.totalPrice}` + ' => ' + `${saleItem.vatToPay}`)}>