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: only get org invites if an org exists #20376

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

raquelmsmith
Copy link
Member

Problem

Any time you go to the signup page there is this error:

image

I'm not entirely sure why this is happening, I can't reproduce it locally. It seems like this logic should never be mounting if someone is unauth'd, but it is being mounted somewhere, and thus it's trying to load invites.

Changes

Only get org invites if an org exists. Seems like a possible solution? I have no idea if it works because I can't reproduce locally..

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

@raquelmsmith raquelmsmith requested a review from xrdt February 15, 2024 22:23
Copy link
Contributor

Size Change: +33 B (0%)

Total Size: 2.23 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 2.23 MB +33 B (0%)

compressed-size-action

Copy link
Contributor

@xrdt xrdt left a comment

Choose a reason for hiding this comment

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

Seems fine but I also can't replicate locally 🤷‍♀️

@raquelmsmith raquelmsmith merged commit fc53eb4 into master Feb 16, 2024
80 checks passed
@raquelmsmith raquelmsmith deleted the fix/signup-invite-error branch February 16, 2024 00:58
@raquelmsmith
Copy link
Member Author

This seems to have fixed it!

thmsobrmlr pushed a commit that referenced this pull request Feb 20, 2024
only get org invites if an org exists
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.

2 participants