File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,12 @@ const PageHeader = ({
94
94
}
95
95
}
96
96
97
+ const handleCloseSwitchThemeLocationTippyChange = ( ) => {
98
+ handleShowSwitchThemeLocationTippyChange ( false )
99
+ }
100
+
97
101
const onClickLogoutButton = ( ) => {
102
+ handleCloseSwitchThemeLocationTippyChange ( )
98
103
setShowLogOutCard ( ! showLogOutCard )
99
104
if ( showHelpCard ) {
100
105
setShowHelpCard ( false )
@@ -123,10 +128,6 @@ const PageHeader = ({
123
128
} )
124
129
}
125
130
126
- const handleCloseSwitchThemeLocationTippyChange = ( ) => {
127
- handleShowSwitchThemeLocationTippyChange ( false )
128
- }
129
-
130
131
const renderThemePreferenceLocationTippyContent = ( ) => (
131
132
< div className = "px-16 pb-16 flexbox-col dc__gap-4" >
132
133
< h6 className = "m-0 fs-14 fw-6 lh-20" > Theme Preference</ h6 >
You can’t perform that action at this time.
0 commit comments