Skip to content

Commit

Permalink
Set to draft when creating Nav post
Browse files Browse the repository at this point in the history
I know this can't stay "as is". It's for illustration only.
  • Loading branch information
getdave committed Dec 10, 2021
1 parent 2d6290f commit 4fbeb72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function useCreateNavigationMenu( clientId ) {
const record = {
title,
content: serialize( blocks ),
status: 'publish',
status: 'draft',
};

return await saveEntityRecord(
Expand Down

0 comments on commit 4fbeb72

Please sign in to comment.