Skip to content

Commit 79d7f11

Browse files
committed
Fixed build error
1 parent d45af4d commit 79d7f11

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"@types/webpack-env": "^1.16.0",
5858
"@typescript-eslint/eslint-plugin": "^4.2.0",
5959
"@typescript-eslint/parser": "^4.2.0",
60+
"autoprefixer": "^9.8.6",
6061
"css-loader": "^4.3.0",
6162
"cypress": "^5.2.0",
6263
"env-cmd": "^9.0.3",

src/sagas/tracker.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
import { Predicate } from '@redux-saga/types'
21
import { Action, Actions } from 'actions'
32
import { call, put, select, takeLatest } from 'redux-saga/effects'
43
import { Selector, State } from 'types'
54
import { sleep } from 'utils'
65

76
const SAVE_KEY = 'activity_tracker'
87

9-
const predicate: Predicate<Action> = (a: Action) => a.type.includes('ACTIVITY')
8+
const predicate = (a: Action) => a.type.includes('ACTIVITY')
109

1110
export default function* () {
12-
yield takeLatest<Action>(predicate as any, save)
11+
yield takeLatest<Action>(predicate, save)
1312
yield takeLatest('SAVE_LOAD', load)
1413
}
1514

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11418,6 +11418,7 @@ fsevents@^2.1.2:
1141811418
"@types/webpack-env": ^1.16.0
1141911419
"@typescript-eslint/eslint-plugin": ^4.2.0
1142011420
"@typescript-eslint/parser": ^4.2.0
11421+
autoprefixer: ^9.8.6
1142111422
classnames: ^2.2.6
1142211423
connected-react-router: ^6.5.2
1142311424
css-loader: ^4.3.0

0 commit comments

Comments
 (0)