Skip to content

Commit 7d1574f

Browse files
author
vikasrohit
authored
Merge pull request #2385 from appirio-tech/hotfix/bring_back_compile_time_maintenance_mode
Fixed issue with determination of maintenance mode flag
2 parents 01eb94c + 4473134 commit 7d1574f

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
@@ -16,7 +16,7 @@ const Layout = (props) => {
1616

1717
if (isLoadingUser) {
1818
return (<div />)
19-
} else if (MAINTENANCE_MODE || maintenanceMode) {
19+
} else if (MAINTENANCE_MODE === true || maintenanceMode) {
2020
return <Maintenance />
2121
} else {
2222
return (

0 commit comments

Comments
 (0)