fix: converting post and page
This commit is contained in:
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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue