From 1870f3fdf43707a15fda0f609a021f516f45eb63 Mon Sep 17 00:00:00 2001
From: Piotr Russ <mail@pruss.it>
Date: Wed, 18 Nov 2020 23:15:38 +0100
Subject: finish auth routes, create cookie token, fix folder structure, add
 context to FE

---
 client/src/admin/jsx/MainScreen.jsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 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 ff28256..3d65384 100644
--- a/client/src/admin/jsx/MainScreen.jsx
+++ b/client/src/admin/jsx/MainScreen.jsx
@@ -1,21 +1,21 @@
 import React, { Fragment } from 'react';
-import WithHover from '../../common/jsx/WithHover.jsx';
+import { WithHover, t } from '../hocs';
 
-const MainScreen = ({ projects, t, setHover }) => (
+const MainScreen = ({ projects }) => (
   <div className="main-screen">
     <h1 className="main-screen__header">{ t('main-title') }</h1>
     <div className="main-screen__list">
       { !projects.length && (
-        <WithHover setHover={setHover} message="edit-current-project-hover">
+        <WithHover message="edit-current-project-hover">
           <p className="main-screen__item">{ t('edit-current-project') }</p>
         </WithHover>
       )}
       { !projects.length && (
-        <WithHover setHover={setHover} message="show-saved-projects-hover">
+        <WithHover message="show-saved-projects-hover">
           <p className="main-screen__item">{ t('show-saved-projects') }</p>
         </WithHover>
       )}
-      <WithHover setHover={setHover} message="create-new-project-hover">
+      <WithHover message="create-new-project-hover">
         <p className="main-screen__item">{ t('create-new-project') }</p>
       </WithHover>
     </div>
-- 
cgit v1.2.3

