Skip to content

Commit

Permalink
fix(demo): Don't show top bar or sidebar on demo summary (#9190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtaber129 authored Nov 16, 2023
1 parent f3aa90d commit a147fa3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/client/modules/summary/components/NewMeetingSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ const NewMeetingSummary = (props: Props) => {

return (
<>
<div className='hidden print:hidden lg:block'>
<DashTopBar queryRef={data} toggle={toggle} />
</div>
<div className='flex min-h-screen bg-slate-200'>
{!isDemoRoute() && (
<div className='hidden print:hidden lg:block'>
<DashSidebar viewerRef={viewer} isOpen={isOpen} />
<DashTopBar queryRef={data} toggle={toggle} />
</div>
)}
<div className='flex min-h-screen bg-slate-200'>
{!isDemoRoute() && (
<div className='hidden print:hidden lg:block'>
<DashSidebar viewerRef={viewer} isOpen={isOpen} />
</div>
)}
<div className='w-full'>
<MeetingSummaryEmail
appOrigin={window.location.origin}
Expand Down

0 comments on commit a147fa3

Please sign in to comment.