Refactor subnet discovery logic to allow auto-detection and improve error handling

This commit is contained in:
2025-11-04 17:17:01 +00:00
parent 2469acbc88
commit dfc7694fb9
4 changed files with 14 additions and 29 deletions

View File

@@ -108,10 +108,6 @@ export function mockUseNodes(nodes: Node[] = []) {
isDetecting: false,
detectResult: undefined,
detectError: null,
autoDetect: vi.fn(),
isAutoDetecting: false,
autoDetectResult: undefined,
autoDetectError: null,
getHardware: vi.fn(),
isGettingHardware: false,
getHardwareError: null,