File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export type HistoryAction =
68
68
| 'BACK'
69
69
| 'GO'
70
70
| 'BLOCK'
71
- | 'DISMISS-BLOCK '
71
+ | 'DISMISS_BLOCK '
72
72
73
73
export type BlockerFnArgs = {
74
74
currentLocation : HistoryLocation
@@ -176,7 +176,7 @@ export function createHistory(opts: {
176
176
177
177
if ( done ) {
178
178
isBlocked = value
179
- if ( blockNotified ) notify ( { type : 'DISMISS-BLOCK ' } )
179
+ if ( blockNotified ) notify ( { type : 'DISMISS_BLOCK ' } )
180
180
break
181
181
}
182
182
}
@@ -488,7 +488,7 @@ export function createBrowserHistory(opts?: {
488
488
489
489
if ( done ) {
490
490
isBlocked = value
491
- if ( blockNotified ) history . notify ( { type : 'DISMISS-BLOCK ' } )
491
+ if ( blockNotified ) history . notify ( { type : 'DISMISS_BLOCK ' } )
492
492
break
493
493
}
494
494
}
You can’t perform that action at this time.
0 commit comments