diff --git a/packages/app/src/components/app/index.jsx b/packages/app/src/components/app/index.jsx index d38e202..6e66a12 100644 --- a/packages/app/src/components/app/index.jsx +++ b/packages/app/src/components/app/index.jsx @@ -9,8 +9,6 @@ import { Routes as ReactRouterRoutes, Route, } from '@flecks/react/router'; -import {useSelector} from '@flecks/redux'; -import {userIdSelector} from '@flecks/user'; import {UserRequired} from '@flecks/user/local'; import '@humus/app/scss/index.scss'; @@ -21,8 +19,7 @@ import Play from './play'; import styles from './index.module.scss'; -const Persea = () => { - const userId = useSelector(userIdSelector); +function Persea() { return ( { path="/" element={(
  • - { - userId === 0 - ? ( - - Log in - - ) - : ( - - Play - - ) - } + + Play +
  • )} /> @@ -86,6 +73,6 @@ const Persea = () => {
    ); -}; +} export default hot(module)(Persea);