File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6868 "ts-jest" : " ^26.4.1" ,
6969 "ts-loader" : " ^8.0.5" ,
7070 "typescript" : " ^4.0.3" ,
71+ "webextension-polyfill-ts" : " ^0.26.0" ,
7172 "webpack" : " ^5.65.0" ,
7273 "webpack-cli" : " ^4.9.1" ,
7374 "webpack-merge" : " ^5.8.0"
7475 },
7576 "dependencies" : {
7677 "react" : " ^17.0.2" ,
77- "react-dom" : " ^17.0.2" ,
78- "webextension-polyfill-ts" : " ^0.26.0"
78+ "react-dom" : " ^17.0.2"
7979 }
8080}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import css from "./styles.module.css";
1010const scrollToTopPosition = 0 ;
1111const scrollToBottomPosition = 9999999 ;
1212
13- function greetUser ( position : number ) {
13+ function scrollWindow ( position : number ) {
1414 window . scroll ( 0 , position ) ;
1515}
1616
@@ -38,7 +38,7 @@ function executeScript(position: number): void {
3838 target : {
3939 tabId : currentTabId
4040 } ,
41- func : greetUser ,
41+ func : scrollWindow ,
4242 args : [ position ]
4343 } )
4444 . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments