Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoni authored Dec 15, 2023
1 parent dc9d859 commit a3f7742
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/[org]/[dataset]/r/[resource]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const Resource: React.FC<{ variables: any }> = ({ variables }) => {
(item) => item.name === variables.resource
);
console.log('======= FRONTEND ERROR RESOURCE ==========');
console.log("RESOURCE NAME SERVER: " , variables.resource)
if (!resource) {
console.log('======= FROTEND RESOURCE NOT AVAILABLE ==========');
return <FourOhFour></FourOhFour>;
Expand Down Expand Up @@ -126,6 +127,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
id: context.query.dataset,
resource: context.query.resource,
};
console.log("RESOURCE NAME SERVER: " , context.query.resource)

await apolloClient.query({
query: GET_DATASET_QUERY,
Expand Down

0 comments on commit a3f7742

Please sign in to comment.