useTable totals from backend
I return the totals from my backend, like for example: { data: [{...},{...},{...},{...},{...}] total: 5 }
but I can't make it work with antd useTable, unless I parse
const { result, tableProps } = useTable<MyType>({
with something like
correctlyTypedResult = result as unknown as MyType
but I can't make it work with antd useTable, unless I parse
const { result, tableProps } = useTable<MyType>({
with something like
correctlyTypedResult = result as unknown as MyType
