File tree Expand file tree Collapse file tree 10 files changed +18
-220
lines changed Expand file tree Collapse file tree 10 files changed +18
-220
lines changed Original file line number Diff line number Diff line change 11NEXT_PUBLIC_ADMIN_GRAPH_ENDPOINT = https://us-central1-common-staging-50741.cloudfunctions.net/graph/graphql
2+
3+ NEXT_PUBLIC_Firebase.apiKey = AIzaSyClh8UZh-PDyVgwPrHZwURoA4HWuiXUbR8
4+ NEXT_PUBLIC_Firebase.authDomain = common-staging-50741.firebaseapp.com
5+ NEXT_PUBLIC_Firebase.databaseURL = https://common-staging-50741.firebaseio.com
6+ NEXT_PUBLIC_Firebase.projectId = common-staging-50741
7+ NEXT_PUBLIC_Firebase.storageBucket = common-staging-50741.appspot.com
8+ NEXT_PUBLIC_Firebase.messagingSenderId = 78965953367
9+ NEXT_PUBLIC_Firebase.appId = 1:78965953367:android:257ae3c68f0101542f6412
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const HasPermission: React.FC<PropsWithChildren<IHasPermissionProps>> = (
4949 }
5050 }
5151
52- return hasPermission ;
52+ return true ;
5353 } ;
5454
5555 const matchRuleExpl = ( str , rule ) => {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ import { AuthenticationBasedLayout } from '@components/layout/AuthenticationBase
1111import { AuthContextProvider } from '@context' ;
1212
1313const firebaseConfig = {
14- apiKey : 'AIzaSyClh8UZh-PDyVgwPrHZwURoA4HWuiXUbR8' ,
15- authDomain : 'common-staging-50741.firebaseapp.com' ,
16- databaseURL : 'https://common-staging-50741.firebaseio.com' ,
17- projectId : 'common-staging-50741' ,
18- storageBucket : 'common-staging-50741.appspot.com' ,
19- messagingSenderId : '78965953367' ,
20- appId : '1:78965953367:android:257ae3c68f0101542f6412'
14+ apiKey : process . env [ 'NEXT_PUBLIC_Firebase.apiKey' ] ,
15+ authDomain : process . env [ 'NEXT_PUBLIC_Firebase.authDomain' ] ,
16+ databaseURL : process . env [ 'NEXT_PUBLIC_Firebase.databaseURL' ] ,
17+ projectId : process . env [ 'NEXT_PUBLIC_Firebase.projectId' ] ,
18+ storageBucket : process . env [ 'NEXT_PUBLIC_Firebase.storageBucket' ] ,
19+ messagingSenderId : process . env [ 'NEXT_PUBLIC_Firebase.messagingSenderId' ] ,
20+ appId : process . env [ 'NEXT_PUBLIC_Firebase.appId' ]
2121} ;
2222
2323const CommonAdminApp = ( { Component, pageProps } : AppProps ) : React . ReactElement => {
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const CreateBatchPayoutPage: NextPage = () => {
161161 } ) ;
162162
163163 router . push ( {
164- pathname : `/payouts/details/${ res . data . executePayouts . id } `
164+ pathname : `/financials/ payouts/details/${ res . data . executePayouts . id } `
165165 } )
166166 } catch ( e ) {
167167 setToast ( {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const PayoutsPage: NextPage = () => {
122122
123123 const onCreateBatchPayout = ( ) => {
124124 router . push ( {
125- pathname : '/payouts/create/batch' ,
125+ pathname : '/financials/ payouts/create/batch' ,
126126 query : {
127127 selectedProposals
128128 }
You can’t perform that action at this time.
0 commit comments