chore: lint

This commit is contained in:
Min Idzelis
2025-06-15 03:16:39 +00:00
parent 504309eff5
commit 3e66913cf8

View File

@@ -130,10 +130,10 @@ class ActivityManager {
this.#likeCount--;
}
if (index !== undefined) {
this.#activities.splice(index, 1);
} else {
if (index === undefined) {
this.#activities = this.#activities.filter(({ id }) => id !== activity.id);
} else {
this.#activities.splice(index, 1);
}
await deleteActivity({ id: activity.id });