mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-20 04:57:03 +00:00
code styling
This commit is contained in:
@@ -21,7 +21,7 @@ const getRoomSharedKeyLocalStorageKey = (roomId: string): string =>
|
||||
|
||||
const useInternalRoomSharedKey = (roomId: string): string | null => {
|
||||
const key = getRoomSharedKeyLocalStorageKey(roomId);
|
||||
const roomSharedKey = useLocalStorage(key)[0];
|
||||
const [roomSharedKey] = useLocalStorage(key);
|
||||
|
||||
return roomSharedKey;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user