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

API Key and Endpoint State Reset on Page Refresh #29

Open
Abhijay007 opened this issue Feb 20, 2024 · 3 comments
Open

API Key and Endpoint State Reset on Page Refresh #29

Abhijay007 opened this issue Feb 20, 2024 · 3 comments

Comments

@Abhijay007
Copy link

Abhijay007 commented Feb 20, 2024

Issue Description:

In the rpc-request-builder, there's an issue observed where, upon initially inserting an API key and selecting an endpoint, the functionality works as expected. However, upon refreshing the page, the API key reverts to empty in the input value, and the endpoint reverts to its initial state.

Expected Behavior:

It would be beneficial to maintain the state of the API key and selected endpoint even after a page refresh. This would enhance the user experience by eliminating the need to re-enter information after each refresh.

Steps to Reproduce:

  • Open the rpc-request-builder.
  • Input an API key and select an endpoint.
  • Refresh the page.
  • Observe that the API key becomes empty, and the endpoint reverts to the initial state.

Additional Information:

Starknet.JSON-RPC.Request.Builder.mp4

cc : @jelilat

@aviral10x
Copy link

Hey @Abhijay007 , I can fix this

@Blazing-Mike
Copy link

@jelilat I opened a PR for this issue here

@Xaxxoo
Copy link

Xaxxoo commented Mar 31, 2024

Hi @Abhijay007, Kindly assign this to me.

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

No branches or pull requests

4 participants