Skip to content

Commit

Permalink
fix: ensure containerId is not set if not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Aug 1, 2024
1 parent 0a039c7 commit f53e501
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const config: Config = {
showReadingTime: true,
editUrl: 'https://github.com/elastic/eui/tree/main/website/',
},
googleTagManager: {
googleTagManager: googleTagManagerId && {
containerId: googleTagManagerId,
}
},
} satisfies Preset.Options,
],
],
Expand Down Expand Up @@ -104,6 +104,12 @@ const config: Config = {
position: 'right',
component: 'github',
},
{
href: 'https://www.figma.com/community/file/964536385682658129',
label: 'Figma',
position: 'right',
component: 'figma',
},
],
},
footer: {
Expand Down

0 comments on commit f53e501

Please sign in to comment.