Skip to content

Commit

Permalink
remove timeout for refetch rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogge committed Jun 27, 2024
1 parent 11a246b commit 2efe23d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/stores/roomsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ export const useRoomsStore = defineStore('rooms', () => {
setTimeout(refetchRooms, 60 * 1000)
}

// eslint-disable-next-line @typescript-eslint/no-misused-promises
void setTimeout(refetchRooms, 60 * 1000)
void refetchRooms()

const rooms = ref<Room[]>([])

Expand Down

0 comments on commit 2efe23d

Please sign in to comment.