File tree 4 files changed +1
-7
lines changed
4 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ export const COMPLETE_TUTORIAL = 'COMPLETE_TUTORIAL';
5
5
export const DEVTOOLS_TOGGLE = 'DEVTOOLS_TOGGLE' ;
6
6
export const HINT_POSITION_SET = 'HINT_POSITION_SET' ;
7
7
export const PAGE_SET = 'PAGE_SET' ;
8
- export const PAGE_POSITION_SET = 'POSITION_SET' ;
9
8
export const PROGRESS_LOAD = 'PROGRESS_LOAD' ;
10
9
export const PROGRESS_PAGE_POSITION_LOAD = 'PROGRESS_PAGE_POSITION_LOAD' ;
11
10
export const QUIT = 'QUIT' ;
Original file line number Diff line number Diff line change 5
5
progressPagePositionLoad
6
6
} from './progress' ;
7
7
export { hintPositionSet } from './hint' ;
8
- export { pageSet , pageNext , pagePositionSet } from './page' ;
8
+ export { pageSet , pageNext } from './page' ;
9
9
export { routeSet } from './route' ;
10
10
export { setupVerify , setupPackage } from './setup' ;
11
11
export {
Original file line number Diff line number Diff line change @@ -30,7 +30,3 @@ export function pageSet(pagePosition = 0): ReduxThunk.ThunkInterface {
30
30
dispatch ( hintPositionSet ( 0 ) ) ;
31
31
} ;
32
32
}
33
-
34
- export function pagePositionSet ( pagePosition : CR . PagePosition ) : Action {
35
- return { type : PAGE_POSITION_SET , payload : { pagePosition } } ;
36
- }
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export default function pagePositionReducer(
12
12
const firstFail = pages . indexOf ( false ) ;
13
13
return firstFail < 0 ? pages . length - 1 : firstFail ;
14
14
15
- case PAGE_SET :
16
15
case PAGE_POSITION_SET :
17
16
return action . payload . pagePosition ;
18
17
You can’t perform that action at this time.
0 commit comments