2020-10-07 07:44:14 -04:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
|
*
|
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
|
|
|
|
|
|
2021-11-06 07:04:45 -04:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
|
export function onRouteUpdate({location}: {location: Location}): void {
|
2021-02-02 10:43:25 -05:00
|
|
|
// console.log('onRouteUpdate', {location});
|
2020-10-07 07:44:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (ExecutionEnvironment.canUseDOM) {
|
2021-02-02 10:43:25 -05:00
|
|
|
// console.log('client module example log');
|
2020-10-07 07:44:14 -04:00
|
|
|
}
|