Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

fix(tags) - Expose masto object to client [SOCIALPLAT-601] #83

Closed
wants to merge 1 commit into from

Conversation

bakulf
Copy link

@bakulf bakulf commented Nov 10, 2023

The issue with SOCIALPLAT-601 and others is that we render the page in the client but $masto does not exist there. With this change, the rendering works as expected. This issue is a regression of commit 26c5ccb964fed99588fed86c0c2fc193723b6013.

@bassrock why you moved masto to client only? The commit does not contain a description.

@bakulf bakulf requested a review from a team as a code owner November 10, 2023 05:33
@bassrock
Copy link

bassrock commented Nov 28, 2023

@bakulf please check out #16 which has the reasoning and description

@bakulf
Copy link
Author

bakulf commented Nov 28, 2023

@bakulf please check out #16 which has the reasoning and description

Yep, I suspect #16 needs to be reverted. Check https://mozilla.social/tags/indieweb - this page is broken because the masto object does not exist when the page is server-side rendered.

@bassrock
Copy link

bassrock commented Dec 5, 2023

@bakulf sure, do with as you please.

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants