summaryrefslogtreecommitdiffstats
path: root/client/src/admin/jsx/MainScreen.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/admin/jsx/MainScreen.jsx')
-rw-r--r--client/src/admin/jsx/MainScreen.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/admin/jsx/MainScreen.jsx b/client/src/admin/jsx/MainScreen.jsx
index 3d65384..ea2def5 100644
--- a/client/src/admin/jsx/MainScreen.jsx
+++ b/client/src/admin/jsx/MainScreen.jsx
@@ -1,5 +1,5 @@
import React, { Fragment } from 'react';
-import { WithHover, t } from '../hocs';
+import { WithHover, t, goTo } from '../hocs';
const MainScreen = ({ projects }) => (
<div className="main-screen">
@@ -16,7 +16,9 @@ const MainScreen = ({ projects }) => (
</WithHover>
)}
<WithHover message="create-new-project-hover">
- <p className="main-screen__item">{ t('create-new-project') }</p>
+ <p className="main-screen__item" onClick={ goTo('creator') }>
+ { t('create-new-project') }
+ </p>
</WithHover>
</div>
</div>