Skip to content

Commit 53bb93f

Browse files
authored
fix(nav): Silence isMobile prop warning (#93861)
1 parent b2fdfcd commit 53bb93f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/app/views/nav/primary/primaryButtonOverlay.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ export function PrimaryButtonOverlay({
4949
);
5050
}
5151

52-
const ScrollableOverlay = styled(Overlay)<{
52+
const ScrollableOverlay = styled(Overlay, {
53+
shouldForwardProp: prop => prop !== 'isMobile',
54+
})<{
5355
isMobile: boolean;
5456
}>`
5557
min-height: 150px;

0 commit comments

Comments
 (0)