aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/Header/Header.js (renamed from src/components/Header.js)2
-rw-r--r--src/index.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Header.js b/src/components/Header/Header.js
index cca73ed..9bfe5c4 100644
--- a/src/components/Header.js
+++ b/src/components/Header/Header.js
@@ -17,8 +17,8 @@ const Header = ({ setPage }) => {
<AppBar position="static">
<TabsWrapper onChange={handleChange}>
<Typography variant="h4" id="logo"> ChronoCube </Typography>
- <Tab label="Home" value="home"/>
<Tab label="App" value="app"/>
+ <Tab label="Profile" value="profile"/>
<Tab label="Scoreboard" value="scoreboard"/>
<Tab label="News" value="news"/>
</TabsWrapper>
diff --git a/src/index.js b/src/index.js
index bf09082..5c657f9 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,12 +4,12 @@ import ReactDOM from 'react-dom';
import styled from 'styled-components';
import CssBaseline from '@material-ui/core/CssBaseline'
-import Header from "./components/Header";
+import Header from './components/Header/Header';
const App = () => {
- const [page, setPage] = useState('home');
+ const [page, setPage] = useState('app');
return (
<Root>