aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-12 14:16:26 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-12 18:11:45 +0300
commitc06bce7fdab23e52d33636e3585c86d48c0bfa91 (patch)
tree095caaa6bd996e1c5ad31b2f4125962ba3abebd1 /src/index.js
parentd131fe1c40da4faf8fe850994d000263f867c9d6 (diff)
downloadchrono-cube-ui-c06bce7fdab23e52d33636e3585c86d48c0bfa91.tar.gz
Markup initial Profile page with empty form
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/index.js b/src/index.js
index 0c3d415..f90c39a 100644
--- a/src/index.js
+++ b/src/index.js
@@ -10,6 +10,7 @@ import Header from './components/Header/Header';
import Timer from "./pages/Timer/Timer";
import Scoreboard from "./pages/Scoreboard/Scoreboard";
import Contribute from "./pages/Contribute/Contribute";
+import Profile from "./pages/Profile/Profile";
const App = () => {
@@ -28,19 +29,17 @@ const App = () => {
/>
);
+ case 'profile':
+ return <Profile/>;
+
case 'scoreboard':
- return (<Scoreboard />);
+ return <Scoreboard />;
case 'contribute':
- return (<Contribute />);
+ return <Contribute />;
default:
- return (
- <p>
- This text is rendered outside of <code>Header</code> component, but
- interacting with <code>Header</code> can influence content of this page!
- </p>
- )
+ return <Contribute />;
}
};