mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-16 12:33:48 +00:00
Update to JS coding standard v2.5.0
This commit is contained in:
@@ -44,8 +44,8 @@ export const { actions, reducer } = createSlice({
|
||||
},
|
||||
},
|
||||
deleteServer: (state, { payload }) => {
|
||||
const { [payload.id]: deletedServer, ...rest } = state;
|
||||
return rest;
|
||||
delete state[payload.id];
|
||||
return state;
|
||||
},
|
||||
setAutoConnect: {
|
||||
prepare: ({ id: serverId }: ServerWithId, autoConnect: boolean) => ({
|
||||
|
||||
Reference in New Issue
Block a user