@@ -60,18 +60,18 @@ const Header = () => {
6060 } ;
6161
6262 const showRegistrationModal = ( ) => {
63- registrationModalRef . current ?. open ( )
63+ registrationModalRef . current ?. open ( ) ;
6464 } ;
6565
6666 const showHotKeyCheatSheet = ( ) => {
67- hotKeyCheatSheetModalRef . current ?. open ( )
67+ hotKeyCheatSheetModalRef . current ?. open ( ) ;
6868 } ;
6969
7070 const toggleHotKeyCheatSheet = ( ) => {
7171 if ( hotKeyCheatSheetModalRef . current ?. isOpen ?.( ) ) {
72- hotKeyCheatSheetModalRef . current ?. close ?.( )
72+ hotKeyCheatSheetModalRef . current ?. close ?.( ) ;
7373 } else {
74- hotKeyCheatSheetModalRef . current ?. open ( )
74+ hotKeyCheatSheetModalRef . current ?. open ( ) ;
7575 }
7676 } ;
7777
@@ -86,9 +86,9 @@ const Header = () => {
8686 availableHotkeys . general . HOTKEY_CHEATSHEET . sequence ,
8787 ( ) => toggleHotKeyCheatSheet ( ) ,
8888 {
89- description : t ( availableHotkeys . general . HOTKEY_CHEATSHEET . description ) ?? undefined
89+ description : t ( availableHotkeys . general . HOTKEY_CHEATSHEET . description ) ?? undefined ,
9090 } ,
91- [ toggleHotKeyCheatSheet ]
91+ [ toggleHotKeyCheatSheet ] ,
9292 ) ;
9393
9494 useEffect ( ( ) => {
@@ -115,7 +115,7 @@ const Header = () => {
115115 } ;
116116
117117 // Fetching health status information at mount
118- loadHealthStatus ( ) . then ( ( r ) => console . info ( r ) ) ;
118+ loadHealthStatus ( ) . then ( r => console . info ( r ) ) ;
119119 // Fetch health status every minute
120120 const interval = setInterval ( ( ) => dispatch ( fetchHealthStatus ( ) ) , 5000 ) ;
121121
@@ -145,7 +145,7 @@ const Header = () => {
145145 < div className = "nav-dd lang-dd" id = "lang-dd" ref = { containerLang } >
146146 < Tooltip active = { ! displayMenuLang } title = { t ( "LANGUAGE" ) } >
147147 < button className = "lang" onClick = { ( ) => setMenuLang ( ! displayMenuLang ) } >
148- < IconContext . Provider value = { { style : { fontSize : "20px" } } } >
148+ < IconContext . Provider value = { { style : { fontSize : "20px" } } } >
149149 < HiTranslate />
150150 </ IconContext . Provider >
151151 </ button >
@@ -419,7 +419,7 @@ const MenuUser = () => {
419419 // Here we broadcast logout, in order to redirect other tabs to login page!
420420 broadcastLogout ( ) ;
421421 window . location . href = "/j_spring_security_logout" ;
422- }
422+ } ;
423423 return (
424424 < ul className = "dropdown-ul" >
425425 < li >
0 commit comments