Skip to content

Commit 0910fc6

Browse files
committed
render skeleton in the intermediate state
1 parent eddef65 commit 0910fc6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ import styles from '../skeleton/styles.css.js';
1515

1616
export const BeforeMainSlotImplementation = ({ toolbarProps, appLayoutState, appLayoutProps }: SkeletonPartProps) => {
1717
if (!isWidgetReady(appLayoutState)) {
18-
return null;
18+
return (
19+
<BeforeMainSlotSkeleton
20+
toolbarProps={toolbarProps}
21+
appLayoutProps={appLayoutProps}
22+
appLayoutState={appLayoutState}
23+
/>
24+
);
1925
}
2026
const { activeDrawer, navigationOpen, navigation, expandedDrawerId, navigationAnimationDisabled } =
2127
appLayoutState.widgetizedState;

0 commit comments

Comments
 (0)