mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 16:21:56 +03:00
fix: remove open app timeout (#4332)
This commit is contained in:
parent
37e5c464d6
commit
ab7be0b940
@ -74,9 +74,7 @@ const OpenAppImpl = ({ urlToOpen, channel }: OpenAppProps) => {
|
||||
|
||||
if (urlToOpen && lastOpened !== urlToOpen && autoOpen) {
|
||||
lastOpened = urlToOpen;
|
||||
setTimeout(() => {
|
||||
open(urlToOpen, '_blank');
|
||||
}, 1000);
|
||||
open(urlToOpen, '_blank');
|
||||
}
|
||||
|
||||
if (!urlToOpen) {
|
||||
|
Loading…
Reference in New Issue
Block a user