Skip to content

Commit 4473134

Browse files
author
Vikas Agarwal
committed
Fixed issue with determination of maintenance mode flag
1 parent a23ee14 commit 4473134

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)