drafts-order-fix

This commit is contained in:
Untone 2024-02-29 16:08:35 +03:00
parent 1a3d7a9520
commit 9e513b2430

View File

@ -18,7 +18,7 @@ export const DraftsView = () => {
const loadDrafts = async () => {
if (apiClient.private) {
const loadedDrafts = await apiClient.getDrafts()
setDrafts(loadedDrafts || [])
setDrafts(loadedDrafts.reverse() || [])
}
}