Skip to content

Commit

Permalink
Remove the useEffect when setting the page title
Browse files Browse the repository at this point in the history
  • Loading branch information
McCorsa committed Jun 17, 2024
1 parent 5b4ba2b commit 69ce09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Hackathon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import FAQSection from '@/components/FAQSection';
import CountdownSection from '@/components/CountdownSection';

export default function HackathonPage() {
useEffect(() => (document.title = 'Hackathon | Code Network'), []);
document.title = 'Hackathon | Code Network'
return (
<main className="container">
<div style={{ background: '#0e091b', borderRadius: '0px' }}>
Expand Down

0 comments on commit 69ce09a

Please sign in to comment.