alibaba / alibaba/hooks

[useAntdTable] defaultCurrent parameter not working as expected

Open
#2,766 1 comment 1 reaction 2 assignees Claimed by @crazylxr View on GitHub
Dominant language
TypeScript
Stars
15k
Forks
2.8k
Avg merge
15h 7m
Merged PRs (30d)
2

Description

When using useAntdTable with defaultCurrent: 2, the pagination always starts at page 1 regardless of the configured value

**Reproduction Link​**
https://stackblitz.com/edit/vitejs-vite-qvvdjbux?file=src%2FApp.tsx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.