diff --git a/docker-compose-chat-test-db.yml b/docker-compose-chat-test-db.yml deleted file mode 100755 index edf552b..0000000 --- a/docker-compose-chat-test-db.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: '3.8' - -services: - mongodb: - image: mongo - container_name: mongodb - ports: - - "27017:27017" - networks: - - testNet - - redis: - image: redis - container_name: redis - ports: - - "6379:6379" - networks: - - testNet - -networks: - testNet: - driver: bridge diff --git a/src/components/Common/Layout.jsx b/src/components/Common/Layout.jsx index fb7aa94..34e46ee 100644 --- a/src/components/Common/Layout.jsx +++ b/src/components/Common/Layout.jsx @@ -4,12 +4,12 @@ import Header from "./Header"; import Footer from "./Footer"; import { LayoutContainer, MainContent } from "./Layout.styled"; -const Layout = ({ children }) => { +const Layout = ({ children, noneHeader }) => { return ( <> -
+ {!noneHeader &&
} {children}