From 4648967e93e8453b29113abe90c890b6cc24f0bb Mon Sep 17 00:00:00 2001 From: Gala Date: Tue, 20 Sep 2022 12:43:51 +0200 Subject: [PATCH] fix build and refactor from CR --- explorer/src/api/constants.ts | 2 +- nym-wallet/src/components/StyledBackButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer/src/api/constants.ts b/explorer/src/api/constants.ts index 109586c0fd..442fd68ad1 100644 --- a/explorer/src/api/constants.ts +++ b/explorer/src/api/constants.ts @@ -1,7 +1,7 @@ // master APIs export const API_BASE_URL = process.env.EXPLORER_API_URL; export const VALIDATOR_API_BASE_URL = process.env.VALIDATOR_API_URL; -export const VALIDATOR_URL = process.env.VALIDATOR_URL; +export const { VALIDATOR_URL } = process.env; export const BIG_DIPPER = process.env.BIG_DIPPER_URL; // specific API routes diff --git a/nym-wallet/src/components/StyledBackButton.tsx b/nym-wallet/src/components/StyledBackButton.tsx index b977cef547..319bb84c02 100644 --- a/nym-wallet/src/components/StyledBackButton.tsx +++ b/nym-wallet/src/components/StyledBackButton.tsx @@ -3,7 +3,7 @@ import { Button, SxProps } from '@mui/material'; import ArrowBackIosNewIcon from '@mui/icons-material/ArrowBackIosNew'; export const StyledBackButton = ({ onBack, sx }: { onBack: () => void; sx?: SxProps }) => ( - );