We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec50cdf commit af76be3Copy full SHA for af76be3
src/lib/core/LocationFull.ts
@@ -60,7 +60,7 @@ export class LocationFull extends LocationLite {
60
}
61
} else {
62
if (!isConformantState(event.state)) {
63
- logger.warn("Warning: Non-conformant state object passed to history." + method + "State. Previous state will prevail.");
+ logger.warn(`Warning: Non-conformant state object passed to history.${method}State. Previous state will prevail.`);
64
event.state = this.#innerState.state;
65
66
const navFn = method === 'push' ? this.#originalPushState : this.#originalReplaceState;
0 commit comments