Skip to content

Commit

Permalink
Merge pull request #121 from thisyahlen-deriv/thisyahlen/endpoint-reload
Browse files Browse the repository at this point in the history
chore: reload on submit in endpoint
  • Loading branch information
thisyahlen-deriv authored Apr 23, 2024
2 parents f4dc114 + fe67d7f commit ec520fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Endpoint/Endpoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const Endpoint = () => {
localStorage.setItem('config.app_id', values.app_id);
localStorage.setItem('config.server_url', values.server);
setSubmitting(false);
location.reload();
}}
>
{({ errors, isSubmitting }) => (
Expand Down

0 comments on commit ec520fd

Please sign in to comment.