This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +1
-7
lines changed Expand file tree Collapse file tree 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';
55export const DEVTOOLS_TOGGLE = 'DEVTOOLS_TOGGLE' ;
66export const HINT_POSITION_SET = 'HINT_POSITION_SET' ;
77export const PAGE_SET = 'PAGE_SET' ;
8- export const PAGE_POSITION_SET = 'POSITION_SET' ;
98export const PROGRESS_LOAD = 'PROGRESS_LOAD' ;
109export const PROGRESS_PAGE_POSITION_LOAD = 'PROGRESS_PAGE_POSITION_LOAD' ;
1110export const QUIT = 'QUIT' ;
Original file line number Diff line number Diff line change 55 progressPagePositionLoad
66} from './progress' ;
77export { hintPositionSet } from './hint' ;
8- export { pageSet , pageNext , pagePositionSet } from './page' ;
8+ export { pageSet , pageNext } from './page' ;
99export { routeSet } from './route' ;
1010export { setupVerify , setupPackage } from './setup' ;
1111export {
Original file line number Diff line number Diff line change @@ -30,7 +30,3 @@ export function pageSet(pagePosition = 0): ReduxThunk.ThunkInterface {
3030 dispatch ( hintPositionSet ( 0 ) ) ;
3131 } ;
3232}
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(
1212 const firstFail = pages . indexOf ( false ) ;
1313 return firstFail < 0 ? pages . length - 1 : firstFail ;
1414
15- case PAGE_SET :
1615 case PAGE_POSITION_SET :
1716 return action . payload . pagePosition ;
1817
You can’t perform that action at this time.
0 commit comments