Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Fixes organization link in prod environment
Browse files Browse the repository at this point in the history
 towards onvote
  • Loading branch information
emmdim committed Nov 30, 2023
1 parent 842e338 commit 618ffbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/pages/organizations/details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ import {
import { colors } from '@theme/colors';
import { OrganizationDescription } from '@vocdoni/chakra-components';
import { useOrganization } from '@vocdoni/react-providers';
import { ensure0x } from '@vocdoni/sdk';
import { useTranslation } from 'react-i18next';
import { When } from 'react-if';
import styled from 'styled-components';

export const OrganizationView = ({ id }: { id: string }) => {
const plazaUrl = `${process.env.PLAZA_URL}/entity/#/${id}`;
const plazaUrl = `${process.env.PLAZA_URL}/organization/${ensure0x(id)}`;

const { i18n } = useTranslation();
const { organization } = useOrganization();
Expand Down
2 changes: 1 addition & 1 deletion env-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ switch (VOCDONI_ENVIRONMENT) {
apiUrl = `https://api-stg.vocdoni.net/v2`;
break;
case 'prod':
plaza = `https://app.vocdoni.io`;
plaza = `https://onvote.app`;
apiUrl = `https://api.vocdoni.net/v2`;
break;
default:
Expand Down

0 comments on commit 618ffbf

Please sign in to comment.