Skip to content

Commit

Permalink
Reset the form data to allow the user to post new secrets (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Oct 1, 2021
1 parent e949347 commit 4374481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/routes/home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const Home = () => {
setEncryptionKey('');
setAllowedIp('');
setFile('');
setFormData(new FormData());
};

const onSubmit = async (event) => {
Expand Down

0 comments on commit 4374481

Please sign in to comment.