Changed format on action types and reducer names for those already migrated to RTK

This commit is contained in:
Alejandro Celaya
2022-11-09 18:19:07 +01:00
parent 89423737e8
commit fe85291772
15 changed files with 48 additions and 49 deletions

View File

@@ -26,7 +26,7 @@ const serverWithId = (server: ServerWithId | ServerData): ServerWithId => {
const serversListToMap = reduce<ServerWithId, ServersMap>((acc, server) => assoc(server.id, server, acc), {});
export const { actions, reducer } = createSlice({
name: 'serversReducer',
name: 'shlink/servers',
initialState,
reducers: {
editServer: {