mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-22 03:46:22 +03:00
fix: sync password
This commit is contained in:
parent
6af0bfacb2
commit
59c3a41e4e
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ function Settings() {
|
|||
label={locals.BroadcastSync}
|
||||
onChange={(e) => {
|
||||
if (e.target.checked) {
|
||||
socket.emit("joinRoom", settings.syncPassword);
|
||||
socket.emit("joinRoom", settings.SyncPassword);
|
||||
} else {
|
||||
socket.emit("leaveRoom");
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ function Settings() {
|
|||
NoteText: localStorage.getItem("NoteText"),
|
||||
NoteName: localStorage.getItem("NoteName"),
|
||||
},
|
||||
room: settings.syncPassword,
|
||||
room: settings.SyncPassword,
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue