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

Commit 04e7cf4

Browse files
committed
refactor: remove unused variable in event listener for button click
1 parent 04dc915 commit 04e7cf4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ class CssSnippetStoreModal extends Modal {
163163

164164
// Attach event listener
165165
button.addEventListener('click', async () => {
166-
let code;
167166
const url = "https://raw.githubusercontent.com/" + snippet.repo + "/refs/heads/main/" + snippet.folder + "/snippet.css"
168167
try {
169168
if (navigator.onLine) {

0 commit comments

Comments
 (0)