Skip to content

Commit

Permalink
Update Home.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 11, 2024
1 parent ca94d5a commit 30c301e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ const Home = () => {
}

const onLoad = async () => {
const amount = 100
const res = await bookcarsHelper.convertPrice(amount, 'USD', 'EUR')
console.log(`${amount} USD = ${res} EUR`)
let _suppliers = await SupplierService.getAllSuppliers()
_suppliers = _suppliers.filter((supplier) => supplier.avatar && !/no-image/i.test(supplier.avatar))
bookcarsHelper.shuffle(_suppliers)
Expand Down

0 comments on commit 30c301e

Please sign in to comment.