diff options
author | 2021-09-24 23:25:25 +0200 | |
---|---|---|
committer | 2021-09-25 00:00:08 +0200 | |
commit | cf1fbb69d7cdb67219be187fc38feea5a6325f45 (patch) | |
tree | c55870c8c3a15fcb68c5cc07255c97306c42191a /components | |
parent | aac64c2b068e937f939cdefed7af4f08bcb8b3eb (diff) | |
download | my_apps-cf1fbb69d7cdb67219be187fc38feea5a6325f45.tar.gz my_apps-cf1fbb69d7cdb67219be187fc38feea5a6325f45.tar.bz2 my_apps-cf1fbb69d7cdb67219be187fc38feea5a6325f45.zip |
fixed first spinner
Diffstat (limited to 'components')
-rw-r--r-- | components/Layout.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/Layout.js b/components/Layout.js index 572e961..7caa5a5 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -1,6 +1,6 @@ import styles from 'styles/Main.module.scss' import React from 'react' -import { Header, Popup, Splash } from 'components' +import { Header, Popup } from 'components' import useSettings from 'hooks/useSettings' import PropTypes from 'prop-types' @@ -9,7 +9,7 @@ const Layout = ({ }) => { const { settings } = useSettings() - if (!settings || !settings.theme || !settings.language) return <Splash fixed /> + if (!settings || !settings.theme || !settings.language) return null return ( <section className={styles.layout + ' ' + settings.theme}> |