Convert more async actions to AsyncActionPayload

This commit is contained in:
Travis Ralston
2020-05-13 20:48:49 -06:00
parent 8c72c27da9
commit a3b4c2dfa0
4 changed files with 37 additions and 39 deletions
+1 -2
View File
@@ -90,8 +90,7 @@ export default class TagOrderActions {
if (removedTags.includes(tag)) {
// Return a thunk that doesn't do anything, we don't even need
// an asynchronous action here, the tag is already removed.
return () => {
};
return new AsyncActionPayload(() => {});
}
removedTags.push(tag);