A function to clear Error object from syncing drafts
A function to remove a draft
The incomplete submissions that were saved for later
true
if drafts are currently loading for the first time.
true
drafts are syncing with other devices
The date when the sync process last completed successfully, will be null
until it has completed the first time.
A function to trigger syncing of the drafts
An Error object if syncing drafts fails
The value returned from
useDrafts()
hook