Added workaround to add tags on blur on tags input which allows tags to be added on Android

This commit is contained in:
Alejandro Celaya
2018-08-12 19:07:42 +02:00
parent f8eb5fb022
commit adec759579
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
import ShlinkApiClient from '../../api/ShlinkApiClient';
import { curry } from 'ramda';
const LIST_SHORT_URLS_START = 'shlink/shortUrlsList/LIST_SHORT_URLS_START';
const LIST_SHORT_URLS_ERROR = 'shlink/shortUrlsList/LIST_SHORT_URLS_ERROR';
@@ -41,4 +40,4 @@ export const _listShortUrls = (ShlinkApiClient, params = {}) => async dispatch =
dispatch({ type: LIST_SHORT_URLS_ERROR, params });
}
};
export const listShortUrls = curry(_listShortUrls)(ShlinkApiClient);
export const listShortUrls = (params = {}) => _listShortUrls(ShlinkApiClient, params);