Skip to content

Commit bdf24bb

Browse files
Update src/Pagination.tsx
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2f3ffdc commit bdf24bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pagination.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Pagination: React.FC<PaginationProps> = (props) => {
8181
);
8282

8383
const [internalCurrent, setCurrent] = useControlledState<number>(
84-
defaultCurrent || 1,
84+
defaultCurrent,
8585
currentProp,
8686
);
8787

0 commit comments

Comments
 (0)