File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import TotalDonations from './TotalDonations';
6
6
import DonationsCount from './DonationsCount' ;
7
7
import NewDonorsCount from './NewDonorsCount' ;
8
8
import NewDonorsDonationTotalUsd from './NewDonorsDonationTotalUsd' ;
9
- import { isProduction } from '../../../configuration' ;
9
+ import { isDevelopment } from '../../../configuration' ;
10
10
11
11
const HomeIndex = ( ) => {
12
12
return (
@@ -19,7 +19,7 @@ const HomeIndex = () => {
19
19
< DonationsCount />
20
20
< hr />
21
21
< TotalDonations />
22
- { ! isProduction && (
22
+ { isDevelopment && (
23
23
< >
24
24
< hr />
25
25
< NewDonorsCount />
Original file line number Diff line number Diff line change 1
- export const isProduction = process . env . NEXT_PUBLIC_ENV === 'production ' ;
1
+ export const isDevelopment = process . env . NEXT_PUBLIC_ENV === 'development ' ;
2
2
3
- const BASE_ROUTE = isProduction
4
- ? 'https://mainnet .serve.giveth.io'
5
- : 'https://impact-graph .serve.giveth.io' ;
3
+ const BASE_ROUTE = isDevelopment
4
+ ? 'https://impact-graph .serve.giveth.io'
5
+ : 'https://mainnet .serve.giveth.io' ;
6
6
7
7
const config = {
8
8
BACKEND_LINK : `${ BASE_ROUTE } /graphql` ,
You can’t perform that action at this time.
0 commit comments