Skip to content

Commit 3aeb6e1

Browse files
Felix Beceicjtomic-croz
Felix Beceic
authored andcommitted
#228 Defined buttons on Pagination as type="button"
1 parent ae78009 commit 3aeb6e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/core/src/Pagination.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ function Pager({
260260
<div>
261261
<ButtonGroups>
262262
<ButtonGroups.IconButton
263+
type="button"
263264
variant="filled"
264265
color="gray"
265266
size={displayType === "DESKTOP" ? "md" : "sm"}
@@ -273,6 +274,7 @@ function Pager({
273274
if (value === "dots") {
274275
return (
275276
<ButtonGroups.Button
277+
type="button"
276278
key={key}
277279
variant="filled"
278280
color="gray"
@@ -287,6 +289,7 @@ function Pager({
287289

288290
return (
289291
<ButtonGroups.Button
292+
type="button"
290293
key={key}
291294
variant="filled"
292295
color="gray"
@@ -300,6 +303,7 @@ function Pager({
300303
})}
301304

302305
<ButtonGroups.IconButton
306+
type="button"
303307
variant="filled"
304308
color="gray"
305309
size={displayType === "DESKTOP" ? "md" : "sm"}

0 commit comments

Comments
 (0)