Skip to content

Commit

Permalink
mre
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras committed Nov 25, 2024
1 parent d48f4e2 commit ae1ce30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions packages/gestalt/src/BannerCallout/HeaderSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ type Props = {
message: string | ReactElement;
type: 'default' | 'error' | 'info' | 'recommendation' | 'success' | 'warning';
title?: string;
marginBottom?: 4;
iconAccessibilityLabel?: string;
fullWidth?: boolean;
};
Expand All @@ -25,7 +24,6 @@ export default function HeaderSection({
message,
type,
iconAccessibilityLabel,
marginBottom,
fullWidth,
}: Props) {
const {
Expand Down Expand Up @@ -54,7 +52,7 @@ export default function HeaderSection({
};

return (
<Box marginBottom={marginBottom} width="100%">
<Box width="100%">
<Flex gap={gap} width="100%">
<Icon
accessibilityLabel={iconAccessibilityLabel ?? getDefaultIconAccessibilityLabel()}
Expand Down
2 changes: 0 additions & 2 deletions packages/gestalt/src/BannerCallout/VRBannerCallout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export default function BannerCallout({

const wrappedRef = useRef<null | HTMLDivElement>(null);
const isWrapped = useIsWrappedContainer(wrappedRef, true);
console.log(isWrapped);

return (
<Box width="100%">
Expand All @@ -102,7 +101,6 @@ export default function BannerCallout({
gap={3}
iconAccessibilityLabel={iconAccessibilityLabel}
iconSize={24}
marginBottom={primaryAction || secondaryAction ? 4 : undefined}
message={message}
title={title}
type={type}
Expand Down

0 comments on commit ae1ce30

Please sign in to comment.