export function moveComponent(
  activesComponents,
  idMovedComponent,
  idTargetComponent,
  newWeight
) {
  return {
    activesComponents,
    idMovedComponent,
    idTargetComponent,
    newWeight
  };
}
