Skip to content

Commit 07ad763

Browse files
author
vikasrohit
authored
Merge pull request #2384 from appirio-tech/hotfix/bring_back_compile_time_maintenance_mode
Fixed issue with determination of maintenance mode flag
2 parents 2e41c9e + 4473134 commit 07ad763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/Layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Layout = (props) => {
1717

1818
if (isLoadingUser) {
1919
return (<div />)
20-
} else if (MAINTENANCE_MODE || maintenanceMode) {
20+
} else if (MAINTENANCE_MODE === true || maintenanceMode) {
2121
return <Maintenance />
2222
} else {
2323
return (

0 commit comments

Comments
 (0)