fix: Invalid offset error when using global search

This commit is contained in:
Ramesh Mane
2025-11-26 13:47:32 +00:00
parent 020257c20f
commit 1412a188a3

View File

@@ -657,7 +657,7 @@ export function useInfiniteData(args: {
return data
} catch (error: any) {
if (error?.response?.data.error === 'INVALID_OFFSET_VALUE') {
if (error?.response?.data.error === 'ERR_INVALID_OFFSET_VALUE') {
return []
}
if (error?.response?.data?.error === 'FORMULA_ERROR') {