mirror of
https://github.com/runyanjake/jakeswestcoast.git
synced 2025-10-04 15:27: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 './App.css';
|
||||
import Home from './components/Home';
|
||||
@ -9,6 +9,10 @@ import githubIcon from './static/github-icon.png';
|
||||
import youtubeIcon from './static/youtube-icon.png';
|
||||
|
||||
function App() {
|
||||
useEffect(() => {
|
||||
document.title = "Jake's West Coast";
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Router>
|
||||
<div className="App">
|
||||
|
Loading…
x
Reference in New Issue
Block a user