Skip to content

Commit

Permalink
Update App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Jan 29, 2024
1 parent 44bb695 commit e43d14a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions code/ui/manager/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import type { ComponentProps } from 'react';
import React from 'react';

import { Route } from '@storybook/router';

import { Global, createGlobal } from '@storybook/theming';
import type { Addon_PageType } from '@storybook/types';
import Sidebar from './container/Sidebar';
Expand All @@ -27,11 +24,7 @@ export const App = ({ managerLayoutState, setManagerLayoutState, pages }: Props)
<Layout
managerLayoutState={managerLayoutState}
setManagerLayoutState={setManagerLayoutState}
slotMain={
// <Route path={/(^\/story|docs|onboarding\/|^\/$)/} hideOnly>
<Preview id="main" withLoader />
// </Route>
}
slotMain={<Preview id="main" withLoader />}
slotSidebar={<Sidebar onMenuClick={() => setMobileAboutOpen((state) => !state)} />}
slotPanel={<Panel />}
slotPages={pages.map(({ id, render: Content }) => (
Expand Down

0 comments on commit e43d14a

Please sign in to comment.