drafts-order-fix
This commit is contained in:
parent
1a3d7a9520
commit
9e513b2430
|
@ -18,7 +18,7 @@ export const DraftsView = () => {
|
||||||
const loadDrafts = async () => {
|
const loadDrafts = async () => {
|
||||||
if (apiClient.private) {
|
if (apiClient.private) {
|
||||||
const loadedDrafts = await apiClient.getDrafts()
|
const loadedDrafts = await apiClient.getDrafts()
|
||||||
setDrafts(loadedDrafts || [])
|
setDrafts(loadedDrafts.reverse() || [])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user