[CodeHealth] Follow-up on #4288 - code style / async (#4308)

This commit is contained in:
filtered
2025-07-01 09:46:24 -07:00
committed by GitHub
parent c75015c5b8
commit 6470a0bbd9

View File

@@ -172,7 +172,9 @@ const loadEvents = async () => {
const onPageChange = (event: { page: number }) => {
pagination.value.page = event.page + 1
void loadEvents()
loadEvents().catch((error) => {
console.error('Error loading events:', error)
})
}
const refresh = async () => {
@@ -184,5 +186,3 @@ defineExpose({
refresh
})
</script>
<style scoped></style>