Skip to content

Commit

Permalink
fix(Console): Remove console warning in production
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrembeck committed Aug 17, 2023
1 parent ccc40a6 commit 85476c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/check.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const ProductSearch: React.FC = () => {

setLoading(true);
try {
console.warn(process.env.NEXT_PUBLIC_STAGING);
const data = await VeganCheck.getProductByBarcode(barcode, process.env.NEXT_PUBLIC_STAGING === "true" ? true : false);
setLoading(false);
if (data.status === 200) {
Expand Down

0 comments on commit 85476c4

Please sign in to comment.