Skip to content

Commit 6470a0b

Browse files
authored
[CodeHealth] Follow-up on #4288 - code style / async (#4308)
1 parent c75015c commit 6470a0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/dialog/content/setting/UsageLogsTable.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ const loadEvents = async () => {
172172
173173
const onPageChange = (event: { page: number }) => {
174174
pagination.value.page = event.page + 1
175-
void loadEvents()
175+
loadEvents().catch((error) => {
176+
console.error('Error loading events:', error)
177+
})
176178
}
177179
178180
const refresh = async () => {
@@ -184,5 +186,3 @@ defineExpose({
184186
refresh
185187
})
186188
</script>
187-
188-
<style scoped></style>

0 commit comments

Comments
 (0)