mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
@@ -294,9 +294,6 @@ export const useUpdateSearch = () => {
|
||||
queryKey: ['searchDetail', variables.search_id],
|
||||
});
|
||||
},
|
||||
onError: (error) => {
|
||||
message.error(t('message.error', { error: error.message }));
|
||||
},
|
||||
});
|
||||
|
||||
const updateSearch = useCallback(
|
||||
@@ -346,7 +343,6 @@ export const useRenameSearch = () => {
|
||||
search_id: search?.id,
|
||||
});
|
||||
const detail = response.data?.data;
|
||||
console.log('detail-->', detail);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { id, created_by, update_time, ...searchDataTemp } = detail;
|
||||
|
||||
Reference in New Issue
Block a user