Skip to content
Snippets Groups Projects
Unverified Commit be69293d authored by Tomasz Knapik's avatar Tomasz Knapik
Browse files

Check for undefined without typeof

parent 5547016d
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ export const CALL_API = 'Call API' ...@@ -23,7 +23,7 @@ export const CALL_API = 'Call API'
export default store => next => action => { export default store => next => action => {
const callAPI = action[CALL_API] const callAPI = action[CALL_API]
if (typeof callAPI === 'undefined') { if (callAPI === undefined) {
return next(action) return next(action)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment