|
|
@@ -60,6 +60,8 @@ function SearchResults<T extends ResultWithId>({ |
|
|
|
const [rowsPerPage, setRowsPerPage] = React.useState(10); |
|
|
|
const { t } = useTranslation() |
|
|
|
|
|
|
|
// When filtering the seraching critera, update the page to 0 |
|
|
|
// Please removce when the search Result has error |
|
|
|
useEffect(() => { |
|
|
|
setPage(0); |
|
|
|
}, [items]); |
|
|
|