-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Bug 描述 Bug description
In the usePagination function we are running into the problem that injectedGlobalOptions are undefined in this line
pagination: (_injectedGlobalOption = injectedGlobalOptions.pagination) !== null && _injectedGlobalOption !== void 0 ? _injectedGlobalOption : {}
When just replacing injectedGlobalOptions.pagination with injectedGlobalOptions?.pagination it works.
代码重现 Reproduce
I honestly dont know how to reproduce it.
期望结果 Desired result
No undefined error and breaking the code.
其他信息 Other information
LuXDAmore
Metadata
Metadata
Assignees
Labels
No labels