File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/theme/DocItem/TOC/Desktop Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ export default function DocItemTOCDesktop() {
96
96
< button
97
97
className = { styles . docCloudClose }
98
98
onClick = { ( ) => {
99
- setClosed ( true )
100
- galaxyOnClick ( 'docs.sidebarCloudAdvert.advertDismissed' )
99
+ setClosed ( true ) ;
100
+ galaxyOnClick ( 'docs.sidebarCloudAdvert.advertDismissed' ) ;
101
101
window . sessionStorage . setItem ( 'doc-cloud-card-banner' , 'closed' ) ;
102
102
} } >
103
103
< IconClose color = "var(--ifm-color-emphasis-600)" width = { 10 } height = { 10 } />
@@ -107,7 +107,7 @@ export default function DocItemTOCDesktop() {
107
107
< a
108
108
href = { href }
109
109
className = { clsx ( styles . docCloudCardLink , 'click-button primary-btn' ) }
110
- onClick = { ( ) => { galaxyOnClick ( 'docs.sidebarCloudAdvert.clickedThrough' ) } }
110
+ onClick = { ( ) => { galaxyOnClick ( 'docs.sidebarCloudAdvert.clickedThrough' ) ; } }
111
111
>
112
112
{ label }
113
113
</ a >
You can’t perform that action at this time.
0 commit comments