Skip to content

Commit

Permalink
fix: avatar preview not hide after dialog close
Browse files Browse the repository at this point in the history
  • Loading branch information
KawaiiZapic committed Nov 6, 2024
1 parent 1636f64 commit 038e721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const handleLinkApplication = () => {
dialog.addEventListener("open", () => {
form.reset();
avatarPreview.src = "";
avatarPreview.style.display = "none";
descriptionPreview.textContent = "";
namePreview.textContent = "";
});
Expand Down

0 comments on commit 038e721

Please sign in to comment.