(key: string)
| 291 | }, [connection, hydrated]); |
| 292 | |
| 293 | const selectProfile = (key: string): void => { |
| 294 | const next = selectExecutorServerProfile(snapshot, key); |
| 295 | const active = getActiveExecutorServerProfile(next); |
| 296 | persistSnapshot(next); |
| 297 | if (active) setServerConnection(active); |
| 298 | }; |
| 299 | |
| 300 | const removeProfile = (key: string): void => { |
| 301 | if (snapshot.profiles.length <= 1) return; |
no test coverage detected