diff --git a/frontend/src/components/core/layout/components/footer/footer.container.ts b/frontend/src/components/core/layout/components/footer/footer.container.ts deleted file mode 100644 index 46bee97..0000000 --- a/frontend/src/components/core/layout/components/footer/footer.container.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { connect } from "react-redux"; - -import State from "../../../../../store/state"; -import Footer, { FooterProps } from "./footer.view"; - -const mapStateToProps = (state: State): FooterProps => ({ - appTitle: state.app.title, -}); - -export default connect(mapStateToProps)(Footer); diff --git a/frontend/src/components/core/layout/components/footer/footer.view.tsx b/frontend/src/components/core/layout/components/footer/footer.view.tsx index 857fd10..2fc6601 100644 --- a/frontend/src/components/core/layout/components/footer/footer.view.tsx +++ b/frontend/src/components/core/layout/components/footer/footer.view.tsx @@ -1,18 +1,26 @@ import React from "react"; -import { Typography } from "@material-ui/core"; +import { Typography, Link } from "@material-ui/core"; import useStyles from "./footer.styles"; -export interface FooterProps { - readonly appTitle: string; -} - -const Footer: React.FC = ({ appTitle }) => { +const Footer: React.FC = () => { const classes = useStyles(); return ( ); }; diff --git a/frontend/src/components/core/layout/layout.view.tsx b/frontend/src/components/core/layout/layout.view.tsx index 20040e9..308bf7b 100644 --- a/frontend/src/components/core/layout/layout.view.tsx +++ b/frontend/src/components/core/layout/layout.view.tsx @@ -3,7 +3,7 @@ import React from "react"; import HeaderContainer from "./components/header/header.container"; import NavigationMenuContainer from "./components/navigation-menu/navigation-menu-container"; import MainContent from "./components/main-content/main-content.view"; -import FooterContainer from "./components/footer/footer.container"; +import Footer from "./components/footer/footer.view"; const Layout: React.FC = ({ children }) => { return ( @@ -11,7 +11,7 @@ const Layout: React.FC = ({ children }) => { {children} - +