diff --git a/src/client/actions/airdcpp.actions.tsx b/src/client/actions/airdcpp.actions.tsx index b4e99c1..42ced77 100644 --- a/src/client/actions/airdcpp.actions.tsx +++ b/src/client/actions/airdcpp.actions.tsx @@ -39,7 +39,6 @@ function sleep(ms: number): Promise { export const toggleAirDCPPSocketConnectionStatus = (status: String, payload?: any) => async (dispatch) => { - console.log("sanul", status); switch (status) { case "connected": dispatch({ diff --git a/src/client/context/AirDCPPSocket.tsx b/src/client/context/AirDCPPSocket.tsx index 9c3e696..ff783fe 100644 --- a/src/client/context/AirDCPPSocket.tsx +++ b/src/client/context/AirDCPPSocket.tsx @@ -79,11 +79,7 @@ const AirDCPPSocketContextProvider = ({ children }) => { ); }; - const socketConnectionInformation = await initializedAirDCPPSocket.connect( - `${host.username}`, - `${host.password}`, - true, - ); + const socketConnectionInformation = await initializedAirDCPPSocket.connect(); // update the state with the new socket connection information persistSettings({