terms-and-conditions.js
683 Bytes
import AboutUs from "../components/about-us/AboutUs";
import Layout from "../components/layout/Layout";
import TermsAndConditions from "../components/terms-and-conditions/TermsAndConditions";
import { loadUser } from "../redux/actions/userActions";
import { wrapper } from "../redux/store";
export default function TermsAndConditionsPage() {
return (
<Layout>
<TermsAndConditions />
</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: {},
};
});