Skip to content

Commit 5f4be2d

Browse files
committed
Fix build
1 parent c30168a commit 5f4be2d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

TechStacks.Client/src/app/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { useEffect, useState, useCallback } from 'react';
3+
import { useEffect, useState, useCallback, Suspense } from 'react';
44
import { useRouter, useSearchParams } from 'next/navigation';
55
import { PrimaryButton, SecondaryButton } from '@servicestack/react';
66
import { PostsList } from '@/components/posts/PostsList';
@@ -351,6 +351,8 @@ function HomePageContent() {
351351

352352
export default function HomePage() {
353353
return (
354-
<HomePageContent />
354+
<Suspense fallback={<div className="container mx-auto px-4 py-8"><div className="flex justify-center items-center py-12"><div className="text-gray-600">Loading...</div></div></div>}>
355+
<HomePageContent />
356+
</Suspense>
355357
);
356358
}

0 commit comments

Comments
 (0)