Skip to content

Commit 09acea3

Browse files
committed
[#83] fix lint error pipeline
1 parent 56b1c63 commit 09acea3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/events.client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ export default defineNuxtPlugin(() => {
9292
}
9393

9494
const getAll = () => {
95-
getEventsAll().then((events: ServerEvent<unknown>[]) => {
96-
if (events.length) {
97-
eventsStore.initialize(events);
98-
cachedIdsStore.syncWithActive(events.map(({ uuid }) => uuid));
95+
getEventsAll().then((eventsList: ServerEvent<unknown>[]) => {
96+
if (eventsList.length) {
97+
eventsStore.initialize(eventsList);
98+
cachedIdsStore.syncWithActive(eventsList.map(({ uuid }) => uuid));
9999
} else {
100100
// NOTE: clear cached events hardly
101101
eventsStore.removeAll();

0 commit comments

Comments
 (0)