aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases/AddonEnabledUseCase.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/usecases/AddonEnabledUseCase.ts')
-rw-r--r--src/content/usecases/AddonEnabledUseCase.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/usecases/AddonEnabledUseCase.ts b/src/content/usecases/AddonEnabledUseCase.ts
index 2d6fa11..608a401 100644
--- a/src/content/usecases/AddonEnabledUseCase.ts
+++ b/src/content/usecases/AddonEnabledUseCase.ts
@@ -23,7 +23,7 @@ export default class AddonEnabledUseCase {
}
async toggle(): Promise<void> {
- let current = this.repository.get();
+ const current = this.repository.get();
await this.setEnabled(!current);
}