fix errors

This commit is contained in:
Ren Amamiya
2023-07-20 17:14:32 +07:00
parent bbfdb139c6
commit 8f4cf7e948
10 changed files with 214 additions and 223 deletions

View File

@@ -47,7 +47,7 @@ export function useEvent(id: string, fallback?: string) {
}
return event;
} else {
return null;
throw new Error('Event not found');
}
}
}