️ Added a status indicator for the AirDC++ socket connection

This commit is contained in:
2022-12-31 06:21:21 +00:00
parent df1fbc7dd3
commit c09ec6bcfe

View File

@@ -12,7 +12,7 @@ const AirDCPPSocketContextProvider = ({ children }) => {
airDCPPState: { airDCPPState: {
settings: settingsObject, settings: settingsObject,
socket: {}, socket: {},
socketConnectionInformation: {}, socketConectionInformation: {},
}, },
}); });
}; };
@@ -55,7 +55,6 @@ const AirDCPPSocketContextProvider = ({ children }) => {
protocol: `${host.protocol}`, protocol: `${host.protocol}`,
hostname: `${host.hostname}:${host.port}`, hostname: `${host.hostname}:${host.port}`,
}); });
const socketConnectionInformation = await initializedAirDCPPSocket.connect( const socketConnectionInformation = await initializedAirDCPPSocket.connect(
`${host.username}`, `${host.username}`,
`${host.password}`, `${host.password}`,