metaforecast/src/pages/capture.tsx
Vyacheslav Matyukhin db85d80ddb
fix: capture page
2022-04-21 00:35:48 +04:00

28 lines
807 B
TypeScript

import { NextPage } from "next";
import React from "react";
import { displayQuestionsWrapperForCapture } from "../web/display/displayQuestionsWrappers";
import { Layout } from "../web/display/Layout";
import { Props } from "../web/search/anySearchPage";
import CommonDisplay from "../web/search/CommonDisplay";
export { getServerSideProps } from "../web/search/anySearchPage";
const CapturePage: NextPage<Props> = (props) => {
return (
<Layout page="capture">
<CommonDisplay
{...props}
hasSearchbar={true}
hasCapture={true}
hasAdvancedOptions={false}
placeholder="Get best title match..."
displaySeeMoreHint={false}
displayQuestionsWrapper={displayQuestionsWrapperForCapture}
/>
</Layout>
);
};
export default CapturePage;