mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-10-23 22:24:16 +00:00
Migrate from ESLint to Oxlint and Oxfmt
This commit is contained in:
@@ -8,10 +8,7 @@ import { hasServerData } from '../data';
|
||||
import { ensureUniqueIds } from '../helpers';
|
||||
import { createServers, useServers } from './servers';
|
||||
|
||||
const responseToServersList = (data: any) => ensureUniqueIds(
|
||||
{},
|
||||
(Array.isArray(data) ? data.filter(hasServerData) : []),
|
||||
);
|
||||
const responseToServersList = (data: any) => ensureUniqueIds({}, Array.isArray(data) ? data.filter(hasServerData) : []);
|
||||
|
||||
export const fetchServers = createAsyncThunk(
|
||||
'shlink/remoteServers/fetchServers',
|
||||
|
||||
Reference in New Issue
Block a user