chore(lint): cleanup unused variables in code (#1563)
This commit is contained in:
@ -96,7 +96,7 @@ export default class Cursor {
|
||||
return [this.store.get("data").delete("wrapped_cursor_data"), this.updateStore("data", data => data.get("wrapped_cursor_data"))];
|
||||
}
|
||||
clearData() {
|
||||
return this.updateStore("data", data => Map());
|
||||
return this.updateStore("data", () => Map());
|
||||
}
|
||||
|
||||
setMeta(meta) {
|
||||
|
@ -2,7 +2,7 @@ import zipObject from 'lodash/zipObject';
|
||||
|
||||
export const filterPromises = (arr, filter) =>
|
||||
Promise.all(arr.map(entry => filter(entry)))
|
||||
.then(bits => arr.filter(entry => bits.shift()));
|
||||
.then(bits => arr.filter(() => bits.shift()));
|
||||
|
||||
export const resolvePromiseProperties = (obj) => {
|
||||
// Get the keys which represent promises
|
||||
|
Reference in New Issue
Block a user