index.js 974 Bytes
import React from "react";
import Layout from "../../../components/layout/Layout";
import { wrapper } from "../../../redux/store";
import Sidebar from "../../../components/layout/VendorDashboardSidebar";
import ActivityListing from "../../../components/vendor/ActivityListing";
// import { loadUser } from "../redux/actions/userActions";
// import { wrapper } from "../redux/store";

export default function ActivityListingPage() {

    return (
        <Layout>
            <div className="sidebarContainer">
                <Sidebar />
                <div className="content">
                    <ActivityListing />
                </div>
            </div>
        </Layout>
    );
};


/** For server side rendering */
export const getServerSideProps = wrapper.getServerSideProps(store => async ({ req, query }) => {
    // Get the menu data.

    // get the locations data.
    // await store.dispatch(getVendorDetails())

    return {
        props: {},

    };
});