From 4d642e312ed728ad51c454d1e2a0b7bb350fc174 Mon Sep 17 00:00:00 2001
From: Piotr Russ <mail@pruss.it>
Date: Sun, 6 Dec 2020 23:49:13 +0100
Subject: first creator page

---
 client/src/admin/jsx/MainScreen.jsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'client/src/admin/jsx/MainScreen.jsx')

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>
-- 
cgit v1.2.3

