index.js
534 Bytes
import React, { useEffect, useState } from "react";
import Enquiries from "../../../components/admin/Enquiries";
import { GenericLayout } from "../../../components/layout/Generics/GenericLayout";
import { wrapper } from "../../../redux/store";
export default function EnquiriesPage() {
return (
<GenericLayout>
<Enquiries />
</GenericLayout>
);
}
/** For server side rendering */
export const getServerSideProps = wrapper.getServerSideProps(store => async ({ req, query }) => {
return {
props: {}
};
});