fix(v2): BaseUrl issue banner insertion should be prevented if JS can load (#4155)

* restore useBannerRemover

* fix BaseUrlIssueBanner issues
This commit is contained in:
Sébastien Lorber 2021-02-02 16:43:25 +01:00 committed by GitHub
parent d22039c200
commit 3b64aa6107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 20 deletions

View file

@ -8,9 +8,9 @@
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
export function onRouteUpdate({location}: {location: Location}) {
console.log('onRouteUpdate', {location});
// console.log('onRouteUpdate', {location});
}
if (ExecutionEnvironment.canUseDOM) {
console.log('client module example log');
// console.log('client module example log');
}