[Chore/Refactor] Add missing 'type' attribute on 'button' components (#26249)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: asukaminato0721 <30024051+asukaminato0721@users.noreply.github.com>
This commit is contained in:
parent
272102c06d
commit
beb1448441
32 changed files with 56 additions and 52 deletions
|
|
@ -30,7 +30,7 @@ export const PrevButton = ({
|
|||
className,
|
||||
children,
|
||||
dataTestId,
|
||||
as = <button />,
|
||||
as = <button type="button" />,
|
||||
...buttonProps
|
||||
}: ButtonProps) => {
|
||||
const pagination = React.useContext(PaginationContext)
|
||||
|
|
@ -65,7 +65,7 @@ export const NextButton = ({
|
|||
className,
|
||||
children,
|
||||
dataTestId,
|
||||
as = <button />,
|
||||
as = <button type="button" />,
|
||||
...buttonProps
|
||||
}: ButtonProps) => {
|
||||
const pagination = React.useContext(PaginationContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue