importAboutUsfrom"../components/about-us/AboutUs";importLayoutfrom"../components/layout/Layout";importTermsAndConditionsfrom"../components/terms-and-conditions/TermsAndConditions";import{loadUser}from"../redux/actions/userActions";import{wrapper}from"../redux/store";exportdefaultfunctionTermsAndConditionsPage(){return(<Layout><TermsAndConditions/></Layout>);}/** For server side rendering */exportconstgetServerSideProps=wrapper.getServerSideProps(store=>async({req,query})=>{// Get the menu data.// get the locations data.// await store.dispatch(loadUser())return{props:{},};});