Fixed ts error
This commit is contained in:
parent
442d8d4504
commit
efb0904848
|
@ -110,7 +110,7 @@ export const Header = (props: Props) => {
|
||||||
}, 'create')
|
}, 'create')
|
||||||
}
|
}
|
||||||
|
|
||||||
const toggleSubnavigation = (isShow, signal) => {
|
const toggleSubnavigation = (isShow, signal?) => {
|
||||||
clearTimer()
|
clearTimer()
|
||||||
setIsKnowledgeBaseVisible(false)
|
setIsKnowledgeBaseVisible(false)
|
||||||
setIsTopicsVisible(false)
|
setIsTopicsVisible(false)
|
||||||
|
@ -122,7 +122,7 @@ export const Header = (props: Props) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let timer = 0
|
let timer
|
||||||
|
|
||||||
const clearTimer = () => {
|
const clearTimer = () => {
|
||||||
clearTimeout(timer)
|
clearTimeout(timer)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user