mirror of
https://github.com/XFox111/easylogon-web.git
synced 2026-07-02 19:52:45 +03:00
fix: update signalr method name
This commit is contained in:
@@ -18,7 +18,7 @@ export default function useConnection(onSuccess: (data: UserData) => void, onErr
|
||||
|
||||
connection.onreconnecting(() => setState("reconnecting"));
|
||||
connection.onreconnected(() => setState("connected"));
|
||||
connection.on("ReceiveData", encryptedData =>
|
||||
connection.on("OnMessage", encryptedData =>
|
||||
{
|
||||
const userData = decryptMessage<UserData>(encryptedData, key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user