()
| 3795 | }; |
| 3796 | |
| 3797 | const activeGateway = () => { |
| 3798 | const id = state.editingId || state.previewGatewayId; |
| 3799 | if (!id) return null; |
| 3800 | return (state.gateways || []).find((x) => String(x.id || '') === id) || null; |
| 3801 | }; |
| 3802 | |
| 3803 | const refreshSnippetPreview = () => { |
| 3804 | const includeSecrets = !!includeSecretsEl?.checked; |
no outgoing calls
no test coverage detected