import AboutUs from "../components/about-us/AboutUs"; import ContactUs from "../components/contact-us/ContactUs"; import Home from "../components/home/Home"; import Layout from "../components/layout/Layout"; import { loadUser } from "../redux/actions/userActions"; import { wrapper } from "../redux/store"; export default function contactUsPage() { return ( <Layout> <ContactUs /> </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(loadUser()) return { props: {}, }; });