Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6806a86114 |
@@ -46,6 +46,7 @@ export async function restoreDSPs(
|
|||||||
});
|
});
|
||||||
return restored;
|
return restored;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function addDSP(
|
export async function addDSP(
|
||||||
setDsps: SetDsps,
|
setDsps: SetDsps,
|
||||||
setSelected: React.Dispatch<React.SetStateAction<number | null>>,
|
setSelected: React.Dispatch<React.SetStateAction<number | null>>,
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export async function create(params: {
|
|||||||
ip: params.ip,
|
ip: params.ip,
|
||||||
port: params.port,
|
port: params.port,
|
||||||
deviceId: params.deviceId,
|
deviceId: params.deviceId,
|
||||||
mode: params.demo ? DSPMode.Demo: DSPMode.Normal,
|
mode: params.demo,
|
||||||
isConnecting: false,
|
isConnecting: false,
|
||||||
pollingPaused: true,
|
pollingPaused: true,
|
||||||
state: snapshot.state,
|
state: snapshot.state,
|
||||||
|
|||||||
Reference in New Issue
Block a user