Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix wrong query
Browse files Browse the repository at this point in the history
MengZhuNAV committed Nov 21, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 55ef7ca commit 934f3b2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pages/dataproduct/[id]/[slug]/[[...page]].tsx
Original file line number Diff line number Diff line change
@@ -208,15 +208,6 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
console.log(e)
}

try {
await apolloClient.query({
query: SearchContentDocument,
variables: { q: { limit: 6 } },
})
} catch (e) {
console.log(e)
}

return addApolloState(apolloClient, {
props: { id },
})

0 comments on commit 934f3b2

Please sign in to comment.