From 95be082520a5b481e917d5d0d591d9b7a9e8c77f Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Wed, 23 Jun 2021 16:33:27 +0200 Subject: [PATCH] Misc reformat --- src/pages/[locale]/demo/quick-preview/preview-product.tsx | 2 +- src/pages/[locale]/public/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/[locale]/demo/quick-preview/preview-product.tsx b/src/pages/[locale]/demo/quick-preview/preview-product.tsx index 676bbac3..b2e75e3d 100644 --- a/src/pages/[locale]/demo/quick-preview/preview-product.tsx +++ b/src/pages/[locale]/demo/quick-preview/preview-product.tsx @@ -3,13 +3,13 @@ import { OnlyBrowserPageProps } from '@/layouts/core/types/OnlyBrowserPageProps' import { SSGPageProps } from '@/layouts/core/types/SSGPageProps'; import { SSRPageProps } from '@/layouts/core/types/SSRPageProps'; import { getDemoLayoutServerSideProps } from '@/layouts/demo/demoLayoutSSR'; +import QuickPreviewLayout from '@/layouts/quickPreview/components/QuickPreviewLayout'; import { AMPLITUDE_PAGES } from '@/modules/core/amplitude/events'; import useCustomer from '@/modules/core/data/hooks/useCustomer'; import { AirtableRecord } from '@/modules/core/data/types/AirtableRecord'; import { Customer } from '@/modules/core/data/types/Customer'; import { Product } from '@/modules/core/data/types/Product'; import { createLogger } from '@/modules/core/logging/logger'; -import QuickPreviewLayout from '@/layouts/quickPreview/components/QuickPreviewLayout'; import find from 'lodash.find'; import { GetServerSideProps, diff --git a/src/pages/[locale]/public/index.tsx b/src/pages/[locale]/public/index.tsx index 27210773..b80fd8c7 100644 --- a/src/pages/[locale]/public/index.tsx +++ b/src/pages/[locale]/public/index.tsx @@ -63,7 +63,8 @@ const ExamplePublicPage: NextPage = (props): JSX.Element => {

This page was created using from "/layouts/public/pagePublicTemplateSSG.tsx", which uses a completely different layout.

- This page uses the "public" layout, which comes "naked" (no nav/footer) and doesn't fetch any data. (data are mocked, and minimalist) + This page uses the "public" + layout, which comes "naked" (no nav/footer) and doesn't fetch any data. (data are mocked, and minimalist)
Other pages use the "demo" layout, which comes with its own data fetching, components, and inherent complexity.