mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-08 23:16:48 +00:00
Removing unnecesary conditional
This commit is contained in:
@@ -24,10 +24,6 @@ export const Footer: React.FC<{
|
|||||||
setHasMounted(true)
|
setHasMounted(true)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
if (!hasMounted) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className={styles.footer}>
|
<footer className={styles.footer}>
|
||||||
<div className={styles.copyright}>Copyright 2021 {config.author}</div>
|
<div className={styles.copyright}>Copyright 2021 {config.author}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user