summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/pages/Home.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-10 17:31:43 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-10 17:31:43 +0200
commitc2c5dfe0119546935118ce5ae1803bf87f0b787c (patch)
treec4c5331f899e572003cf61c6230fd17a7ef5497b /opendc-web/opendc-web-ui/src/pages/Home.js
parent6e6f14db8986f5de6491b51117de0e1b0438b341 (diff)
ui: Update React dependencies
This change updates the React dependencies to version 17, in order to keep up to date with React.
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>
)