(index: number)
| 45 | onChange(placements.map((p: Placement, j: number) => (j === index ? { ...p, ...patch } : p))); |
| 46 | |
| 47 | const remove = (index: number): void => |
| 48 | onChange(placements.filter((_p: Placement, j: number) => j !== index)); |
| 49 | |
| 50 | // A non-empty prefix with no trailing space is sent JOINED to the credential |
| 51 | // (e.g. "Bearer" + token -> "Bearertoken"). Almost always a mistake: warn. |
no test coverage detected