Commit f77987fa by jaymehta

build error

1 parent eac818da
...@@ -21,7 +21,7 @@ export default function ListingPage() { ...@@ -21,7 +21,7 @@ export default function ListingPage() {
} }
/** For server side rendering */ /** For server side rendering */
export const getStaticProps = wrapper.getStaticProps(store => async ({ req, query }) => { export const getServerSideProps = wrapper.getServerSideProps(store => async ({ req, query }) => {
try { try {
await store.dispatch(getActivitiesByVendor()) await store.dispatch(getActivitiesByVendor())
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!