Skip to content

Commit

Permalink
Merge pull request #24281 from storybookjs/fix-notifications-in-new-l…
Browse files Browse the repository at this point in the history
…ayout

UI: Fix notifications not appearing in new layout
  • Loading branch information
JReinhold authored Oct 31, 2023
2 parents 6d83428 + 9598dc3 commit fa26143
Show file tree
Hide file tree
Showing 8 changed files with 347 additions and 365 deletions.
2 changes: 2 additions & 0 deletions code/ui/manager/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useDragging } from './useDragging';
import { MobileNavigation } from '../mobile/navigation/MobileNavigation';
import { MEDIA_DESKTOP_BREAKPOINT } from '../../constants';
import { useLayout } from './LayoutProvider';
import { Notifications } from '../../container/Notifications';

interface InternalLayoutState {
isDragging: boolean;
Expand Down Expand Up @@ -142,6 +143,7 @@ export const Layout = ({ managerLayoutState, setManagerLayoutState, ...slots }:
isDragging={isDragging}
viewMode={managerLayoutState.viewMode}
>
<Notifications />
{showPages && <PagesContainer>{slots.slotPages}</PagesContainer>}
<ContentContainer>{slots.slotMain}</ContentContainer>
{isDesktop && (
Expand Down

This file was deleted.

Loading

0 comments on commit fa26143

Please sign in to comment.