Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 2f9ae70

Browse files
committed
cleanup
1 parent 4d1205e commit 2f9ae70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content_script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function addButton() {
3434
trackButtonIcon.classList.add("trektor-state-loading");
3535

3636
try {
37-
const response = await browser.runtime.sendMessage({
37+
await browser.runtime.sendMessage({
3838
action: "track",
3939
args: [window.location.pathname.split("/", 3)[2]],
4040
});
@@ -49,7 +49,7 @@ async function addButton() {
4949

5050
addButton.addEventListener("click", async () => {
5151
try {
52-
const response = await browser.runtime.sendMessage({
52+
await browser.runtime.sendMessage({
5353
action: "addTask",
5454
args: [window.location.pathname.split("/", 3)[2]],
5555
});

0 commit comments

Comments
 (0)