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