fix: mirror query
This commit is contained in:
parent
e450b25c47
commit
4d1f4d6830
|
|
@ -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"} />
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue