chore: cleaning up

This commit is contained in:
Matiss Janis Aboltins
2022-12-29 23:13:39 +00:00
parent 4b69615669
commit af07e0187c

View File

@@ -1,7 +1,3 @@
export function isPreviewDeployment() {
console.log(
process.env.REACT_APP_NETLIFY,
process.env.REACT_APP_NETLIFY === true
);
return process.env.REACT_APP_NETLIFY === true;
return String(process.env.REACT_APP_NETLIFY) === 'true';
}