From 91c5d53ce8fd44518932e8b08765b7b06ec736af Mon Sep 17 00:00:00 2001 From: Kevin Tun Date: Fri, 22 Nov 2024 11:36:06 -0600 Subject: [PATCH] refactor(AppProviders.tsx): reformat useGraphqlClient function call for better readability The useGraphqlClient function call has been reformatted to improve readability by placing each argument on a new line. This makes the code easier to understand and maintain. --- apps/genome-page/components/layout/AppProviders.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/genome-page/components/layout/AppProviders.tsx b/apps/genome-page/components/layout/AppProviders.tsx index e621dde6b..565edeaf8 100644 --- a/apps/genome-page/components/layout/AppProviders.tsx +++ b/apps/genome-page/components/layout/AppProviders.tsx @@ -107,7 +107,10 @@ const cacheOptions = { const AppProviders = ({ children }: { children: React.ReactNode }) => { const { cache, isInitializing } = useApolloClientCache(cacheOptions) - const client = useGraphqlClient({ uri: `${process.env.NEXT_PUBLIC_GRAPHQL_SERVER}/graphql`, cache }) + const client = useGraphqlClient({ + uri: `${process.env.NEXT_PUBLIC_GRAPHQL_SERVER}/graphql`, + cache, + }) if (isInitializing) { return