fix: mirror query
This commit is contained in:
@@ -235,7 +235,8 @@ export const PagesManager: React.FC<{
|
||||
)}
|
||||
|
||||
<div className="-mt-3">
|
||||
{!pages.data?.pages?.[0].count && (
|
||||
{pages.isLoading && <p className="py-3 px-3">{t("Loading")}...</p>}
|
||||
{!pages.isLoading && !pages.data?.pages?.[0].count && (
|
||||
<EmptyState resource={isPost ? "posts" : "pages"} />
|
||||
)}
|
||||
|
||||
|
||||
+1
-1
@@ -373,7 +373,7 @@ export function useGetMirrorXyz(input: { address?: string }) {
|
||||
)
|
||||
).json()
|
||||
|
||||
return response?.data as {
|
||||
return response?.data?.projectFeed?.posts as {
|
||||
title: string
|
||||
type: string
|
||||
size: number
|
||||
|
||||
Reference in New Issue
Block a user