mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-10-23 22:24:16 +00:00
Updated to airbnb coding styles
This commit is contained in:
@@ -7,7 +7,7 @@ import { createServers } from './servers';
|
||||
|
||||
const responseToServersList = pipe(
|
||||
prop<any, any>('data'),
|
||||
(data: any): ServerData[] => Array.isArray(data) ? data.filter(hasServerData) : [],
|
||||
(data: any): ServerData[] => (Array.isArray(data) ? data.filter(hasServerData) : []),
|
||||
);
|
||||
|
||||
export const fetchServers = ({ get }: AxiosInstance) => () => async (dispatch: Dispatch) => {
|
||||
|
||||
Reference in New Issue
Block a user