Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 058dcf6

Browse files
committed
Fix AccessibleButton
1 parent 7ac5665 commit 058dcf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/views/elements/AccessibleButton.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ const AccessibleButton = forwardRef(function <T extends keyof JSX.IntrinsicEleme
125125
onKeyDown,
126126
onKeyUp,
127127
triggerOnMouseDown,
128-
title,
129128
caption,
130129
...restProps
131130
}: Props<T>,
132131
ref: Ref<HTMLElement>,
133132
): JSX.Element {
133+
const { title } = restProps;
134+
134135
const newProps: RenderedElementProps = restProps;
135136
if (disabled) {
136137
newProps["aria-disabled"] = true;

0 commit comments

Comments
 (0)