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

Fix new tab links + shared links losing URL context #4278

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aerosol
Copy link
Member

@aerosol aerosol commented Jun 25, 2024

Another stab at #4276

@aerosol aerosol added deploy-to-staging Special label that triggers a deploy to a staging environment preview labels Jun 26, 2024
Copy link

Preview environment👷🏼‍♀️🏗️
PR-4278

@aerosol aerosol changed the title React routes Fix new tab links + shared links losing URL context Jun 26, 2024
@aerosol aerosol marked this pull request as ready for review June 27, 2024 06:21
@@ -65,7 +65,7 @@ class PagesModal extends React.Component {
<td className="p-2">
<Link
to={{
pathname: `/${encodeURIComponent(this.props.site.domain)}`,
pathname: `/`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think without this the <Modal> component no longer needs the site prop passed in wherever it's used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

niice, 2a97dc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-to-staging Special label that triggers a deploy to a staging environment preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants