Skip to content

Commit

Permalink
remove unneccessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan committed Jul 10, 2024
1 parent cd34a90 commit 9f8288e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function createSubgraphClient(key: SubgraphKey) {
selfHostedSubgraph
} = subgraphs[key]

if (typeof selfHostedSubgraph !== 'undefined' && selfHostedSubgraph !== '') {
if (selfHostedSubgraph !== '') {
return createSelfHostedSubgraphClient(selfHostedSubgraph)
}

Expand Down

0 comments on commit 9f8288e

Please sign in to comment.