aboutsummaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-13 22:04:03 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-13 22:04:26 +0100
commitaec575c3b5797069e4964cfafa26e3de3b92f99e (patch)
treeca58b4e85b4f0d3eb78b57cfa58aa9bad9fd4c2f /src/services
parent5bc55ac0a801cbe82c41a10f7e680612be4deaf8 (diff)
chore: add main-nav component
I choose to implement main-nav paths manually instead of fetching them from GraphQL to ensure functional navigation without JS.
Diffstat (limited to 'src/services')
-rw-r--r--src/services/graphql/client.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/services/graphql/client.ts b/src/services/graphql/client.ts
index 160021b..a58441f 100644
--- a/src/services/graphql/client.ts
+++ b/src/services/graphql/client.ts
@@ -2,7 +2,6 @@ import { GraphQLClient } from 'graphql-request';
export const getGraphQLClient = () => {
const apiUrl: string = process.env.NEXT_PUBLIC_GRAPHQL_API || '';
- console.log(apiUrl);
if (!apiUrl) throw new Error('API URL not defined.');