Skip to content

Commit

Permalink
fix(struture): menu item buttons not visually appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Feb 14, 2024
1 parent 664ba44 commit 89be224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/sanity/src/core/components/StatusButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {Button, type ButtonProps} from '../../ui-components'

/** @hidden @beta */
export type StatusButtonProps = ButtonProps & {
forwardedAs?: string
disabled?: boolean | {reason: ReactNode}
mode?: ButtonProps['mode']
iconRight?: undefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function PaneHeaderActionIntentButton(props: {intent: Intent; node: _PaneMenuIte

return (
<StatusButton
as="a"
forwardedAs="a"
disabled={isDisabled}
href={intentLink.href}
icon={node.icon}
Expand Down

0 comments on commit 89be224

Please sign in to comment.