Open nguyenduy opened 1 month ago
**suggestion:** Environment check could be more robust
Consider using a stricter comparison or a configuration management library to handle environment checks more robustly.
const environment = process.env.VITE_DEPLOYMENT_ENVIRONMENT; if (environment && environment.toLowerCase() === "local") {
_Originally posted by @sourcery-ai[bot] in https://github.com/simnova/ownercommunity/pull/135#discussion_r1629623992_
Consider using a stricter comparison or a configuration management library to handle environment checks more robustly.
_Originally posted by @sourcery-ai[bot] in https://github.com/simnova/ownercommunity/pull/135#discussion_r1629623992_