rename leaveRoom -> leave

This commit is contained in:
Pavel Murygin 2021-01-14 22:02:42 +03:00
parent 6d61678c91
commit 8741e65850
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ const App = () => {
return;
}
await calls.leaveRoom(client);
await calls.leave(client);
setIsInRoom(false);
};

View File

@ -169,7 +169,7 @@ export const join = async (client: FluenceClient, nickName: string) => {
return result.users;
};
export const leaveRoom = async (client: FluenceClient) => {
export const leave = async (client: FluenceClient) => {
const particle = new Particle(
`
(seq