Skip to content

Commit

Permalink
Bugfix/analytics links (#1245)
Browse files Browse the repository at this point in the history
* build: updates links removes broken notional dash

* build: removes log

* build: switches DD mask to allow
  • Loading branch information
matthew-garrett authored Nov 1, 2024
1 parent 1f22fb9 commit 4e6416f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/containers/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (
service,
env: window.location.hostname,
version,
defaultPrivacyLevel: 'mask',
defaultPrivacyLevel: 'allow',
sessionSampleRate: 100,
sessionReplaySampleRate: privacySettings['disableTracking'] ? 0 : 10,
trackUserInteractions: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
import dashboard from './images/dashboard.svg';
import defiLlama from './images/defi-llama.svg';
import dune from './images/dune.svg';
import tokenTerminal from './images/token-terminal.svg';
import {
DuneIcon,
DashboardIcon,
DefiLlamaIcon,
TokenTerminalIcon,
} from '@notional-finance/icons';

export const useDashboardLinks = () => {
return [
{
title: 'Notional Dashboard',
link: 'https://info.notional.finance/',
image: dashboard,
icon: (
<DashboardIcon
sx={{
fontSize: '1.5rem',
}}
/>
),
},
{
title: 'Dune Dashboard',
link: 'https://dune.com/PierreYves_Gendron/notional-dashboard',
link: 'https://dune.com/notional_team/notional-dashboard',
image: dune,
icon: (
<DuneIcon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const useAnalyticsDropdown = () => {
const links: SectionLinkProps[] = [
{
title: <FormattedMessage defaultMessage={'Dune Dashboard - Mainnet'} />,
to: 'https://dune.com/PierreYves_Gendron/notional-dashboard',
to: 'https://dune.com/notional_team/notional-dashboard',
icon: (
<DuneIcon
sx={{
Expand All @@ -22,7 +22,7 @@ export const useAnalyticsDropdown = () => {
},
{
title: <FormattedMessage defaultMessage={'Dune Dashboard - Arbitrum'} />,
to: 'https://dune.com/PierreYves_Gendron/notional-finance-v3-arbitrum',
to: 'https://dune.com/notional_team/notional-finance-v3-arbitrum',
icon: (
<DuneIcon
sx={{
Expand Down

0 comments on commit 4e6416f

Please sign in to comment.