Skip to content

Commit

Permalink
fix: tokenPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-moore committed Jan 1, 2024
1 parent 6065b8a commit 1325168
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion layer/Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const tokenService = new TokenService({
chainId: CHAIN_ID,
network: NETWORK
})
export const tokenPrice = new TokenPrice({
export const tokenPrice = new TokenPrice(NETWORK,{
apiKey: COINGECKO_KEY as string,
baseUrl: COINGECKO_KEY
? 'https://pro-api.coingecko.com/api/v3'
Expand Down
14 changes: 7 additions & 7 deletions layer/plugins/tracking.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import VueGtag from 'vue-gtag'
// import hotjar from 'vue-hotjar'
import hotjar from 'vue-hotjar'
import { defineNuxtPlugin } from '#imports'
import { GOOGLE_ANALYTICS_KEY } from './../utils/constant'
import { HOTJAR_KEY, GOOGLE_ANALYTICS_KEY } from './../utils/constant'

export default defineNuxtPlugin((nuxtApp) => {
if (GOOGLE_ANALYTICS_KEY) {
Expand All @@ -12,9 +12,9 @@ export default defineNuxtPlugin((nuxtApp) => {
})
}

// if (HOTJAR_KEY) {
// nuxtApp.vueApp.use(hotjar as any, {
// id: HOTJAR_KEY
// })
// }
if (HOTJAR_KEY) {
nuxtApp.vueApp.use(hotjar as any, {
id: HOTJAR_KEY
})
}
})

0 comments on commit 1325168

Please sign in to comment.