Fixed ts error

This commit is contained in:
kvakazyambra 2023-08-29 09:33:30 +03:00
parent 442d8d4504
commit efb0904848

View File

@ -110,7 +110,7 @@ export const Header = (props: Props) => {
}, 'create')
}
const toggleSubnavigation = (isShow, signal) => {
const toggleSubnavigation = (isShow, signal?) => {
clearTimer()
setIsKnowledgeBaseVisible(false)
setIsTopicsVisible(false)
@ -122,7 +122,7 @@ export const Header = (props: Props) => {
}
}
let timer = 0
let timer
const clearTimer = () => {
clearTimeout(timer)