Removed unused parameters in scripts

This commit is contained in:
2019-04-22 18:06:50 +09:00
parent 6e4097b3b6
commit b78785cadc
19 changed files with 31 additions and 30 deletions

View File

@ -1,7 +1,7 @@
import AnimeNotifier from "../AnimeNotifier"
// Enable notifications
export async function enableNotifications(arn: AnimeNotifier, button: HTMLElement) {
export async function enableNotifications(arn: AnimeNotifier, _: HTMLElement) {
if(!arn.user || !arn.user.dataset.id) {
return
}
@ -13,7 +13,7 @@ export async function enableNotifications(arn: AnimeNotifier, button: HTMLElemen
}
// Disable notifications
export async function disableNotifications(arn: AnimeNotifier, button: HTMLElement) {
export async function disableNotifications(arn: AnimeNotifier, _: HTMLElement) {
if(!arn.user || !arn.user.dataset.id) {
return
}