added setTextValue to handlePaginateKeyUp function
This commit is contained in:
parent
73d68c1db2
commit
9b68f936ad
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ function Paginate(props: Props) {
|
||||||
if (newPage && newPage > 0 && newPage <= totalPages) {
|
if (newPage && newPage > 0 && newPage <= totalPages) {
|
||||||
handleChangePage(newPage);
|
handleChangePage(newPage);
|
||||||
}
|
}
|
||||||
|
setTextValue('');
|
||||||
}
|
}
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
|
Loading…
Reference in a new issue