Refactor subnet discovery logic to allow auto-detection and improve error handling
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user