diff --git a/pages/components/ActiveTask.js b/pages/components/ActiveTask.js index 68d9af5..10c750d 100644 --- a/pages/components/ActiveTask.js +++ b/pages/components/ActiveTask.js @@ -1,3 +1,4 @@ +import Link from 'next/link'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faTasks, faPaperPlane } from '@fortawesome/free-solid-svg-icons'; @@ -32,7 +33,9 @@ const ActiveTask = props => { }
1 godzinę temu - Zobacz + + Zobacz +
) diff --git a/pages/components/Header.js b/pages/components/Header.js index 4c7f401..6e9dd43 100644 --- a/pages/components/Header.js +++ b/pages/components/Header.js @@ -2,7 +2,9 @@ import Link from 'next/link'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faCog, faTasks, faComments, faCommentDots, faUserPlus, faUser } from '@fortawesome/free-solid-svg-icons'; -const Header = () => { +const Header = props => { + const isLogged = props.isLogged === "logged"; + return (