Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregee committed Jul 25, 2024
1 parent f7d1819 commit cd3c5e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/layouts/contexts/WhaleContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function getWhaleApiClient(
return newWhaleClient(
newOceanOptions(
network as EnvironmentNetwork,
process.env.OCEAN_CLIENT_ENDPOINT,
process.env.NEXT_PUBLIC_API_CLIENT_ENDPOINT,
),
);
}
Expand All @@ -49,7 +49,7 @@ export function getWhaleRpcClient(
return newRpcClient(
newOceanOptions(
network as EnvironmentNetwork,
process.env.RPC_CLIENT_ENDPOINT,
process.env.NEXT_PUBLIC_RPC_CLIENT_ENDPOINT,
),
);
}
Expand Down Expand Up @@ -78,11 +78,11 @@ export function WhaleProvider(
const memo = useMemo(() => {
const oceanClientOptions = newOceanOptions(
connection,
process.env.OCEAN_CLIENT_ENDPOINT,
process.env.NEXT_PUBLIC_API_CLIENT_ENDPOINT,
);
const rpcClientOptions = newOceanOptions(
connection,
process.env.RPC_CLIENT_ENDPOINT,
process.env.NEXT_PUBLIC_RPC_CLIENT_ENDPOINT,
);

return {
Expand Down

0 comments on commit cd3c5e7

Please sign in to comment.