Simpler env check

This commit is contained in:
Rémi de Juvigny 2022-06-23 15:59:48 +02:00
parent 1607f85910
commit fa8c5bc1f8

View File

@ -91,8 +91,7 @@ const MarketPlacePage = () => {
}, []);
useEffect(() => {
// Not using !isInDevelopmentMode to avoid matching the condition when it's null
if (isInDevelopmentMode === false) {
if (!isInDevelopmentMode) {
toggleNotification({
type: 'info',
message: {