microblog/app/page.tsx

13 lines
249 B
TypeScript
Raw Normal View History

2022-11-06 23:17:51 +01:00
import { Suspense } from 'react';
2022-11-06 21:07:22 +01:00
import Posts from './posts';
2022-11-06 23:17:51 +01:00
export default function Page() {
2022-11-06 21:07:22 +01:00
return (
2022-11-06 21:36:43 +01:00
<div className="space-y-6 pt-6">
2022-11-06 23:17:51 +01:00
<Suspense fallback={<div>Loading...</div>}>
<Posts />
</Suspense>
2022-11-06 21:07:22 +01:00
</div>
);
}