fix: remove open app timeout (#4332)

This commit is contained in:
Peng Xiao 2023-09-13 13:08:44 +08:00 committed by GitHub
parent 37e5c464d6
commit ab7be0b940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {