Skip to content

chore: remove unused useRequestState#4335

Merged
casibbald merged 2 commits intoweaveworks:mainfrom
tenstad:rm-use-request-state
Jan 1, 2025
Merged

chore: remove unused useRequestState#4335
casibbald merged 2 commits intoweaveworks:mainfrom
tenstad:rm-use-request-state

Conversation

@tenstad
Copy link
Copy Markdown
Contributor

@tenstad tenstad commented Jan 1, 2025

What changed?

Removes useRequestState

Why was this change made?

It's not in use and causes issues in React 18 #4334 (rendering error in return <div data-testid={id}>{error}</div>;, as it's not a ReactNode).

We can alternatively do a small workaround instead of removing it completely:
image

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@tenstad tenstad marked this pull request as ready for review January 1, 2025 13:38
@casibbald casibbald merged commit 53bfa67 into weaveworks:main Jan 1, 2025
This was referenced Jan 15, 2025
This was referenced Jan 26, 2025
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