fix: 🐛
This commit is contained in:
parent
7065015462
commit
0169eb3ba7
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ export default function ExternalLink({
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
if (isSmallScreen) {
|
if (isSmallScreen) {
|
||||||
setIsDrawerOpen(false)
|
setIsDrawerOpen(false)
|
||||||
|
setTimeout(() => push(toExternalContent(url)), 100) // wait for drawer to close
|
||||||
|
return
|
||||||
}
|
}
|
||||||
push(toExternalContent(url))
|
push(toExternalContent(url))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue