Skip to content

Commit

Permalink
fix(AppFrame): change button kind for top bar alert warning kind
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinsawicki committed Nov 19, 2024
1 parent 5152538 commit ecc20a3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ export const NavigationTopBarAlert: React.FC<ITopBarAlertProps> = ({
[]
);
const mobileCtaKind = kind === 'warning' ? 'link-inverted' : 'text';
const desktopCtaKind =
kind === 'warning' ? 'plain-lock-black' : 'high-contrast';
const desktopCtaKind = kind === 'warning' ? 'secondary' : 'high-contrast';
const customPrimaryCtaKind = primaryCta?.kind;
const customSecondaryCtaKind = secondaryCta?.kind;

Expand Down

0 comments on commit ecc20a3

Please sign in to comment.