fix: converting post and page

This commit is contained in:
DIYgod 2023-08-10 22:55:23 +01:00
parent 43bfdaae84
commit 4fd8cb95c3
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export const PagesManagerMenu = ({
} else {
setConvertToastId(toastId)
updatePage.mutate({
type,
type: type === "post" ? "page" : "post",
characterId: page.characterId,
noteId: page.noteId,
})