start refactor event list

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-27 21:32:20 +02:00
parent 8d79949a18
commit 0e632dc493
21 changed files with 111 additions and 102 deletions

View File

@@ -6,6 +6,7 @@ const withSuspense = <P,>(
) => {
const WithSuspense: React.ComponentType<P> = (props) => {
const fallback = <Fallback {...(props as any)} />;
// return <>{fallback}</>;
return (
<Suspense fallback={fallback}>
<Component {...(props as any)} />