fix: converting post and page

This commit is contained in:
DIYgod
2023-08-10 22:55:23 +01:00
parent 43bfdaae84
commit 4fd8cb95c3
@@ -126,7 +126,7 @@ export const PagesManagerMenu = ({
} else {
setConvertToastId(toastId)
updatePage.mutate({
type,
type: type === "post" ? "page" : "post",
characterId: page.characterId,
noteId: page.noteId,
})