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: remove stickiness error #3338

Merged
merged 1 commit into from Mar 17, 2023
Merged

fix: remove stickiness error #3338

merged 1 commit into from Mar 17, 2023

Conversation

kwasniew
Copy link
Contributor

About the changes

Code was failing on create project because project id is empty
Screenshot 2023-03-16 at 16 43 55

Important files

Discussion points

@vercel
Copy link

vercel bot commented Mar 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 16, 2023 at 4:34PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
unleash-docs ⬜️ Ignored (Inspect) Mar 16, 2023 at 4:34PM (UTC)

style={{
width: 'inherit',
minWidth: '100%',
marginBottom: '16px',
Copy link
Contributor

Choose a reason for hiding this comment

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

This could/should be expressed with theme.spacing for consistency

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sx is not supported on this component

status: res.status,
body: await res.json(),
};
const fetcher = (path: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this refactoring necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

to match code of the other fetchers I've seen. We don't expose the status normally and we also keep fetcher private to the hook

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you can check useChangeRequest for comparison

@andreas-unleash andreas-unleash merged commit f907dfa into main Mar 17, 2023
13 checks passed
@andreas-unleash andreas-unleash deleted the remove-stickiness-error branch March 17, 2023 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants