Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from local usePostMeta hook #225

Open
mogmarsh opened this issue Dec 31, 2024 · 0 comments
Open

Move away from local usePostMeta hook #225

mogmarsh opened this issue Dec 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mogmarsh
Copy link
Collaborator

Description

Move away from local usePostMeta script to block-editor-tools - ideally switch to usePostMetaValue as well.
I tried this and got an error TypeError: Cannot read properties of undefined (reading 'useEntityId') - which may be related to getting the post type or the post id. Perhaps passing the id will fix that.

Use Case

reduce any code duplication.

@mogmarsh mogmarsh added the enhancement New feature or request label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant