Skip to content

Commit

Permalink
Google analysis (#615)
Browse files Browse the repository at this point in the history
* feat: goodle analysis and farm label

* update contractId for login

---------

Co-authored-by: naturexie <[email protected]>
  • Loading branch information
xieqiancaosissi and naturexie authored Oct 8, 2024
1 parent 4b5ee0e commit 9b0cf22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { WalletSelectorContextProvider } from './context/WalletSelectorContext';

import { Content } from 'src/Content';
import { LedgerTransactionModal } from './context/modal-ui/modal';
import { ModalGAPrivacy } from './context/modal-ui/modalGAPrivacy/modalGAPrivacy';
import { XmasActivityContextProvider } from './context/XmasActivity';
import RpcList from 'src/components/rpc';
import PubTestModal from '../src/components/layout/PubTestModal';
Expand All @@ -21,7 +22,7 @@ function App() {
<XmasActivityContextProvider>
<div className="page-container relative min-h-screen pb-24 lg:overflow-x-hidden xs:flex xs:flex-col md:flex md:flex-col">
<Content />

<ModalGAPrivacy />
<Footer />
</div>
</XmasActivityContextProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/context/WalletSelectorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import { setupKeypom } from '@keypom/selector';
import { SignMessageMethod } from '@near-wallet-selector/core/src/lib/wallet';
import { addUserWallet } from '../services/indexer';

const CONTRACT_ID = getOrderlyConfig().ORDERLY_ASSET_MANAGER;
const CONTRACT_ID = getConfig().REF_FARM_BOOST_CONTRACT_ID;

export const ACCOUNT_ID_KEY = 'REF_FI_STATE_SYNC_ACCOUNT_ID';

Expand Down
4 changes: 4 additions & 0 deletions src/services/farm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,8 @@ export function getFarmClassification(): any {
'4820',
'5167',
'4949',
'5391',
'3411',
],
eth: [
'605',
Expand Down Expand Up @@ -1921,6 +1923,8 @@ export function getFarmClassification(): any {
'4949',
'553',
'4547',
'5391',
'3411',
],
};
}
Expand Down

0 comments on commit 9b0cf22

Please sign in to comment.