Skip to content

Commit 617a6e6

Browse files
committed
(feat:JS) use JS alert()
1 parent 15609b0 commit 617a6e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

public/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ sendToUserInbox.addEventListener("click", () => {
133133
}).then((response) => {
134134
if (response.ok) {
135135
console.log("image posted");
136+
alert("an email has been sent your inbox");
136137
return response.json();
137138
} else {
138139
throw new Error("Failed to post image");

0 commit comments

Comments
 (0)