浏览代码

Add comment

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1年前
父节点
当前提交
bcf7cd0479
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/components/SearchResults/SearchResults.tsx

+ 2
- 0
src/components/SearchResults/SearchResults.tsx 查看文件

@@ -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]);


正在加载...
取消
保存