Skip to content

Commit c215b32

Browse files
committed
cp dines
1 parent 49f35fd commit c215b32

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/components/MainMenu.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,7 @@ export const MainMenu = ({ onSelect }: MainMenuProps) => {
131131
<Box flexDirection="column">
132132
<Breadcrumb items={[{ label: "Home", active: true }]} />
133133

134-
{/* Wrap Banner in Static so it only renders once */}
135-
<Static items={[{ key: "banner" }]}>
136-
{(item) => (
137-
<Box key={item.key} flexShrink={0}>
138-
<Banner />
139-
</Box>
140-
)}
141-
</Static>
134+
<Banner />
142135

143136
<Box flexDirection="column" paddingX={2} flexShrink={0}>
144137
<Box paddingX={1}>

0 commit comments

Comments
 (0)