mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 03:42:34 +02:00
fix(v2): BaseUrl issue banner insertion should be prevented if JS can load (#4155)
* restore useBannerRemover * fix BaseUrlIssueBanner issues
This commit is contained in:
parent
d22039c200
commit
3b64aa6107
2 changed files with 38 additions and 20 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue