Skip to content

Commit

Permalink
fix: buttons not working due to extra prop
Browse files Browse the repository at this point in the history
resolves #419

Broken by #416, extra prop slipped in while adding types and broke things. Removed the uncessary prop.
  • Loading branch information
dsmmcken committed Apr 18, 2024
1 parent 5ed66a7 commit 24350b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/ui/src/js/src/elements/spectrum/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
import { SerializedButtonEventProps, useButtonProps } from './useButtonProps';

function Button(
variant: SpectrumButtonProps['variant'],
props: SpectrumButtonProps & SerializedButtonEventProps
): JSX.Element {
const buttonProps = useButtonProps(props);
Expand Down

0 comments on commit 24350b0

Please sign in to comment.