Skip to content

Commit e98d08c

Browse files
committed
chore: comments
1 parent 2cd8d86 commit e98d08c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/router.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,6 @@ export function createRouter(options: RouterOptions): Router {
954954
// the error is already handled by router.push we just want to avoid
955955
// logging the error
956956
pushWithRedirect(
957-
// TODO: should we force replace: true
958957
(error as NavigationRedirectError).to,
959958
toLocation
960959
// avoid an uncaught rejection, let push call triggerError

src/types/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ export interface RouteLocationOptions {
8080
*/
8181
force?: boolean
8282
/**
83-
* State to save using the History API. This cannot contain any reactive values and some primitives like Symbols are forbidden. More info at TODO: link mdn
83+
* State to save using the History API. This cannot contain any reactive
84+
* values and some primitives like Symbols are forbidden. More info at
85+
* https://developer.mozilla.org/en-US/docs/Web/API/History/state
8486
*/
8587
state?: HistoryState
8688
}

0 commit comments

Comments
 (0)