mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 20:22:53 +00:00
Polish: Fix ConnectStep leftover response check
This commit is contained in:
@@ -84,8 +84,6 @@ export const ConnectStep: Component<ConnectStepProps> = (props) => {
|
||||
body: JSON.stringify({ subnet: 'auto' }),
|
||||
});
|
||||
|
||||
if (!response.ok) throw new Error('Discovery failed');
|
||||
|
||||
// Poll for results
|
||||
for (let i = 0; i < 10; i++) {
|
||||
await new Promise(r => setTimeout(r, 2000));
|
||||
|
||||
Reference in New Issue
Block a user