const [{ data: taskRecord, fetching, error: fetchError }, reexecuteQuery] = useFindFirst(api.workTask, {
live: true,
filter: {
fatherId: {
equals: null
}
},
sort: [{ id: "Descending" }]
});
const [{ data: taskRecord, fetching, error: fetchError }, reexecuteQuery] = useFindFirst(api.workTask, {
live: true,
filter: {
fatherId: {
equals: null
}
},
sort: [{ id: "Descending" }]
});