File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import IconClose from "@theme/Icon/Close";
17
17
import { useLocation } from "@docusaurus/router" ;
18
18
import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
19
19
import RelatedBlogs from "../../../components/RelatedBlogs/RelatedBlogs" ;
20
+ import { galaxyOnClick } from "../../../lib/galaxy/galaxy" ;
20
21
/**
21
22
* Decide if the toc should be rendered, on mobile or desktop viewports
22
23
*/
@@ -90,6 +91,7 @@ export default function DocItemLayout({children}) {
90
91
className = { styles . docCloudClose }
91
92
onClick = { ( ) => {
92
93
setShowPopup ( false )
94
+ galaxyOnClick ( 'docs.translationIssueBanner.buttonClick' )
93
95
window . localStorage . setItem ( 'doc-translate-card-banner' , 'closed' )
94
96
} } >
95
97
< IconClose color = "var(--ifm-color-emphasis-600)" width = { 10 } height = { 10 } />
You can’t perform that action at this time.
0 commit comments