Fixed ts error
This commit is contained in:
parent
442d8d4504
commit
efb0904848
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user