Skip to content

Commit

Permalink
Fix tamagotchi battle envs (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov authored Nov 8, 2023
1 parent b52ead6 commit 4ce5e7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions frontend/non-fungible-token/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const container = document.getElementById('root');
const root = createRoot(container as HTMLElement);

root.render(
// <StrictMode>
<App />,
// </StrictMode>,
<StrictMode>
<App />,
</StrictMode>,
);
2 changes: 1 addition & 1 deletion frontend/tamagotchi-battle/frontend/src/app/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const LOCAL_STORAGE = {
};

export const ENV = {
NODE: 'wss://testnet.vara-network.io',
NODE: process.env.REACT_APP_NODE_ADDRESS as string,
};

export const ROUTES = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export const BATTLE_ADDRESS = '0xf74ebe31a9659d3caccf522336ae2805f894d85619d60744755816f67fa2c158';
import { HexString } from '@polkadot/util/types';

export const BATTLE_ADDRESS = process.env.REACT_APP_BATTLE_ADDRESS as HexString;

0 comments on commit 4ce5e7d

Please sign in to comment.