Skip to content

Commit

Permalink
Frontend: Remove Notice for User to Login
Browse files Browse the repository at this point in the history
Remove the notice based on Laguna's request.
The notification to log in and assemble a basket can be added in later stages of development.
  • Loading branch information
JancoEngelbrecht committed Sep 22, 2024
1 parent 473276d commit ad9ed23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/global/products/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function Products({ userId }) {
<h1 className="text-3xl font-semibold mb-4">Laguna's Meat Products</h1>
{/* Render an error message if there's an error */}
{error ? (
<div className="text-red-500">Failed to load products. Please try again later.</div>
<div className="text-red-500"></div>
) : (
// Render the ProductList component with fetched products and loading state
<ProductList products={products} loading={loading} userId={userId} />
Expand Down

0 comments on commit ad9ed23

Please sign in to comment.