fix(Console): Remove console warning in production

This commit is contained in:
Philip 2023-08-17 23:06:52 +02:00
parent ccc40a63b0
commit 85476c4e66

View file

@ -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) {