diff --git a/src/pages/index.js b/src/pages/index.js index 955b96e..9f74abd 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -286,19 +286,23 @@ export default function Index({ globalData }) { } const renderMotd = () => { - return ( -
-
MOTD
- {motd ? ( -
- ) : ( -
...
- )} -
- ) + if (motd) { + return ( +
+
MOTD
+ {motd ? ( +
+ ) : ( +
...
+ )} +
+ ) + } else { + return null + } } return (