Closed mogmarsh closed 5 months ago
Latest commit: 621037b5119a8215d759f7a15472fb0c857ffabb
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Fixes Issue Number: #629
Issue URL: https://github.com/alleyinteractive/alley-scripts/issues/629
Description
This update allows for a custom function to be provided for looking up post data to be used in the preview component, enhancing flexibility in cases where
usePostById
is not suitable for accessing post information.Use Case
The enhancement caters to scenarios where a post cannot be accessed by
usePostById
, enabling developers to specify an alternative function for accessing the needed post data.