We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b59414 commit ac9deb1Copy full SHA for ac9deb1
app/[locale]/(user)/categories/page.tsx
@@ -7,6 +7,7 @@ import Link from 'next/link';
7
import { Text } from 'opub-ui';
8
9
import BreadCrumbs from '@/components/BreadCrumbs';
10
+import { ErrorPage } from '@/components/error';
11
import { Loading } from '@/components/loading';
12
import { GraphQL } from '@/lib/api';
13
@@ -74,9 +75,7 @@ const CategoriesListingPage = () => {
74
75
</div>
76
</>
77
) : getCategoriesList.isError ? (
- <div className="text font-Medium flex h-[680px] w-full flex-col items-center justify-center gap-4 text-600">
78
- Error fetching data. Please try again later.
79
- </div>
+ <ErrorPage />
80
) : (
81
<></>
82
)}
0 commit comments