mirror of
https://github.com/runyanjake/jakeswestcoast.git
synced 2025-10-04 23:37:29 -07:00
Update document title
This commit is contained in:
parent
59c31e7904
commit
854bda0724
@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
|
import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
|
||||||
import './App.css';
|
import './App.css';
|
||||||
import Home from './components/Home';
|
import Home from './components/Home';
|
||||||
@ -9,6 +9,10 @@ import githubIcon from './static/github-icon.png';
|
|||||||
import youtubeIcon from './static/youtube-icon.png';
|
import youtubeIcon from './static/youtube-icon.png';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
useEffect(() => {
|
||||||
|
document.title = "Jake's West Coast";
|
||||||
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Router>
|
<Router>
|
||||||
<div className="App">
|
<div className="App">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user