From 9c586c6ec1c05c4a14d79af21a305574af35a115 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Sat, 26 Mar 2022 03:57:07 +0300 Subject: [PATCH] refactor: commonDisplay -> CommonDisplay --- src/pages/capture.tsx | 2 +- src/pages/index.tsx | 2 +- src/web/search/anySearchPage.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/capture.tsx b/src/pages/capture.tsx index 40e09fe..6149926 100644 --- a/src/pages/capture.tsx +++ b/src/pages/capture.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { displayForecastsWrapperForCapture } from '../web/display/displayForecastsWrappers'; import { Props } from '../web/search/anySearchPage'; -import CommonDisplay from '../web/search/commonDisplay'; +import CommonDisplay from '../web/search/CommonDisplay'; import Layout from './layout'; export { getServerSideProps } from "../web/search/anySearchPage"; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index fc1f7b4..0a547f3 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { displayForecastsWrapperForSearch } from '../web/display/displayForecastsWrappers'; import { Props } from '../web/search/anySearchPage'; -import CommonDisplay from '../web/search/commonDisplay'; +import CommonDisplay from '../web/search/CommonDisplay'; import Layout from './layout'; export { getServerSideProps } from "../web/search/anySearchPage"; diff --git a/src/web/search/anySearchPage.tsx b/src/web/search/anySearchPage.tsx index aaa5628..eba9619 100644 --- a/src/web/search/anySearchPage.tsx +++ b/src/web/search/anySearchPage.tsx @@ -2,7 +2,7 @@ import { GetServerSideProps } from 'next'; import { getFrontpage } from '../../backend/frontpage'; import searchAccordingToQueryData from '../worker/searchAccordingToQueryData'; -import { defaultNumDisplay, defaultQueryParameters, QueryParameters } from './commonDisplay'; +import { defaultNumDisplay, defaultQueryParameters, QueryParameters } from './CommonDisplay'; /* Common code for / and /capture */