diff --git a/src/pages/index.js b/src/pages/index.js index c3c7bf8..c9e5a9e 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -29,7 +29,7 @@ export default function Index(props) { const [news, setNews] = useState(null) const [allQrSelector, setAllQrSelector] = useState(null) const motd = props.globalData.motd - const userSpecificMotd = props.globalData.userSpecificMotd + // const userSpecificMotd = props.globalData.userSpecificMotd useEffect(() => { console.info('Fetching news.json') @@ -130,22 +130,22 @@ export default function Index(props) { ) } - const renderUserSpecificMotd = () => { - return ( -
-
-
Üzenet admintól:
- {userSpecificMotd ? ( -
- ) : ( -
...
- )} -
- ) - } + // const renderUserSpecificMotd = () => { + // return ( + //
+ //
+ //
Üzenet admintól:
+ // {userSpecificMotd ? ( + //
+ // ) : ( + //
...
+ // )} + //
+ // ) + // } const renderDbSelector = () => { if (allQrSelector) { @@ -213,7 +213,7 @@ export default function Index(props) {

{renderMotd()} - {userSpecificMotd && renderUserSpecificMotd()} + {/*{userSpecificMotd && renderUserSpecificMotd()} */}