From e43700e159bc5c6ba2a8b9def68aabd6bc239c56 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 23 May 2022 14:17:13 -0700 Subject: [PATCH] Rename OnboardingLayout to ProfileLayout since its only used in the profile --- .../templates/{OnboardingLayout.tsx => ProfileLayout.tsx} | 4 ++-- packages/web/pages/confirm-profile.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename packages/web/components/templates/{OnboardingLayout.tsx => ProfileLayout.tsx} (91%) diff --git a/packages/web/components/templates/OnboardingLayout.tsx b/packages/web/components/templates/ProfileLayout.tsx similarity index 91% rename from packages/web/components/templates/OnboardingLayout.tsx rename to packages/web/components/templates/ProfileLayout.tsx index 8112bda34..3e89faa5f 100644 --- a/packages/web/components/templates/OnboardingLayout.tsx +++ b/packages/web/components/templates/ProfileLayout.tsx @@ -2,11 +2,11 @@ import { Box, VStack, HStack } from '../elements/LayoutPrimitives' import { OmnivoreNameLogo } from '../elements/images/OmnivoreNameLogo' import { theme } from '../tokens/stitches.config' -type OnboardingLayoutProps = { +type ProfileLayoutProps = { children: React.ReactNode } -export function OnboardingLayout(props: OnboardingLayoutProps): JSX.Element { +export function ProfileLayout(props: ProfileLayoutProps): JSX.Element { return ( <> - + - +
)