From dde4a8b05796777a8936872bb7f7773d180f19fa Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 30 Mar 2022 22:07:23 -0700 Subject: [PATCH] Remove "wide" page option --- web/components/page.tsx | 4 +--- web/pages/[username]/[contractSlug].tsx | 2 +- web/pages/admin.tsx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/web/components/page.tsx b/web/components/page.tsx index 4075df06..07cf7baa 100644 --- a/web/components/page.tsx +++ b/web/components/page.tsx @@ -3,20 +3,18 @@ import { BottomNavBar } from './nav/nav-bar' import Sidebar from './nav/sidebar' export function Page(props: { - wide?: boolean margin?: boolean assertUser?: 'signed-in' | 'signed-out' rightSidebar?: React.ReactNode children?: any }) { - const { wide, margin, assertUser, children, rightSidebar } = props + const { margin, assertUser, children, rightSidebar } = props return (
diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index 1bd86bde..ee0ef26a 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -131,7 +131,7 @@ export default function ContractPage(props: { ) : null return ( - + {ogCardProps && ( +