mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 22:40:24 +00:00
Simpler env check
This commit is contained in:
parent
1607f85910
commit
fa8c5bc1f8
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user