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

correctly pass urlPath to FeedItem, rather than using liveUrl #1705

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

twrichards
Copy link
Contributor

@twrichards twrichards commented Oct 22, 2024

In #1680 I rather naively passed liveUrl to the newly required urlPath prop of HoverActionsButtonWrapper, without realising liveUrl is prefixed by hostname etc.

This PR corrects that by passing urlPath explicitly into FeedItem. This means that feed items get a working pinboard button (see guardian/pinboard#312).

@twrichards twrichards requested a review from a team as a code owner October 22, 2024 13:00
@twrichards twrichards force-pushed the pass-urlPath-correctly-to-FeedItem branch from 4f28e0a to fced06e Compare October 22, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant