import AboutUs from "../components/about-us/AboutUs"; import GiftCard from "../components/gift-card/GiftCard"; import Layout from "../components/layout/Layout"; import PrivacyPolicy from "../components/privacy-policy/PrivacyPolicy"; import TermsAndConditions from "../components/terms-and-conditions/TermsAndConditions"; import { loadUser } from "../redux/actions/userActions"; import { wrapper } from "../redux/store"; export default function GiftCardPage() { return ( <Layout> <GiftCard /> </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: {}, }; });