Skip to content

Commit

Permalink
Enable Nabla for Pendulum
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenStueber committed May 16, 2024
1 parent e071ccd commit 88822c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/Layout/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export const links: Links = ({ tenantName }) => [
title: 'Nabla',
hidden:
(nablaConfig.environment && !nablaConfig.environment.includes(config.env)) ||
!tenantName ||
(tenantName && !nablaConfig.tenants.includes(tenantName)),
prefix: <NablaIcon />,
props: {
Expand Down
9 changes: 7 additions & 2 deletions src/config/apps/nabla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ export type NablaConfig = AppConfigBase &
>;

export const nablaConfig: NablaConfig = {
tenants: [TenantName.Foucoco],
environment: ['staging', 'development'],
tenants: [TenantName.Foucoco, TenantName.Pendulum],
environment: ['staging', 'development', 'production'],
foucoco: {
indexerUrl: 'https://pendulum.squids.live/foucoco-squid/graphql',
router: '6ijJtaZuwpZCiaVo6pSHRJbd8qejgywYsejnjfo2AVanN14E',
oracle: '6jscuYjvoPesdnzdnUNYEntLmGY3R6F5hJoTum1oaV7VVcxE',
},
pendulum: {
indexerUrl: 'https://pendulum.squids.live/pendulum-squid/graphql',
router: '6buMJsFCbXpHRyacKTjBn3Jss241b2aA7CZf9tKzKHMJWpcJ',
oracle: '6d3R7qJNDUMFRDrbkhPe3UZpPwzE4y4PjqXxgK3uJD6PT91S',
},
};

0 comments on commit 88822c4

Please sign in to comment.