summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/pages/Home.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/pages/Home.js')
-rw-r--r--opendc-web/opendc-web-ui/src/pages/Home.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/pages/Home.js b/opendc-web/opendc-web-ui/src/pages/Home.js
index 6fc940c0..fb383426 100644
--- a/opendc-web/opendc-web-ui/src/pages/Home.js
+++ b/opendc-web/opendc-web-ui/src/pages/Home.js
@@ -1,5 +1,4 @@
import React from 'react'
-import DocumentTitle from 'react-document-title'
import ContactSection from '../components/home/ContactSection'
import IntroSection from '../components/home/IntroSection'
import JumbotronHeader from '../components/home/JumbotronHeader'
@@ -10,8 +9,10 @@ import TeamSection from '../components/home/TeamSection'
import TechnologiesSection from '../components/home/TechnologiesSection'
import HomeNavbar from '../components/navigation/HomeNavbar'
import './Home.sass'
+import { useDocumentTitle } from '../util/hooks'
function Home() {
+ useDocumentTitle('OpenDC')
return (
<div>
<HomeNavbar />
@@ -24,7 +25,6 @@ function Home() {
<TechnologiesSection />
<TeamSection />
<ContactSection />
- <DocumentTitle title="OpenDC" />
</div>
</div>
)