added setTextValue to handlePaginateKeyUp function

This commit is contained in:
tonybaca 2022-04-26 16:03:44 -06:00 committed by Thomas Zarebczan
parent 73d68c1db2
commit 9b68f936ad

View file

@ -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(() => {