Skip to content

Commit

Permalink
Revert "Update web/src/components/product/ProductSelectionPage.jsx"
Browse files Browse the repository at this point in the history
Breaks build

ERROR in ./src/components/product/ProductSelectionPage.jsx 107:22-63
Module not found: Error: Can't resolve '~/assets/products' in '/home/runn

This reverts commit e7e7b9d.
  • Loading branch information
lkocman committed Aug 22, 2024
1 parent 3c92e8d commit f8ae4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/product/ProductSelectionPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function ProductSelectionPage() {

const ProductIcon = ({ src, alt }) => {
// Ensure that we display something even if icon path is incorrect
const productIcon = require(`~/assets/products/${src}`);
const productIcon = require(`../../assets/products/${src}`);

return (
<img
Expand Down

0 comments on commit f8ae4e7

Please sign in to comment.