Skip to content

Commit 0a7abe2

Browse files
authored
Update index.js
1 parent 41cbe8d commit 0a7abe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/theme/DocItem/TOC/Desktop/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ export default function DocItemTOCDesktop() {
9696
<button
9797
className={styles.docCloudClose}
9898
onClick={() => {
99-
setClosed(true)
100-
galaxyOnClick('docs.sidebarCloudAdvert.advertDismissed')
99+
setClosed(true);
100+
galaxyOnClick('docs.sidebarCloudAdvert.advertDismissed');
101101
window.sessionStorage.setItem('doc-cloud-card-banner', 'closed');
102102
}}>
103103
<IconClose color="var(--ifm-color-emphasis-600)" width={10} height={10}/>
@@ -107,7 +107,7 @@ export default function DocItemTOCDesktop() {
107107
<a
108108
href={href}
109109
className={clsx(styles.docCloudCardLink, 'click-button primary-btn')}
110-
onClick={()=>{galaxyOnClick('docs.sidebarCloudAdvert.clickedThrough')}}
110+
onClick={()=>{galaxyOnClick('docs.sidebarCloudAdvert.clickedThrough');}}
111111
>
112112
{label}
113113
</a>

0 commit comments

Comments
 (0)