sdy

refactoring menu router, components

import React from "react";
import styled from "styled-components";
import Menu from "../Routes/Menu/MenuPresenter";
import Menu from "../Routes/Menu/MenuContainer";
import HomeMain from "./Home/HomeMain";
import { Helmet } from "react-helmet";
......
import React from "react";
import { useMutation } from "@apollo/react-hooks";
import { gql } from "apollo-boost";
import MenuPresenter from "./MenuPresenter";
const LOG_OUT = gql`
mutation logUserOut {
logUserOut @client
}
`;
export default () => {
const [logOut] = useMutation(LOG_OUT);
return <MenuPresenter logOut={logOut} />;
};
......