Use finnish notation for observables (#2905)
To help make our usage of the observables more readable/intuitive.
This commit is contained in:
1 parent
e4bd9d7cf9
commit
79c40f198c
30 files changed
+491
-490
No files matched your search
@@ -148,7 +148,7 @@ export const LobbyView: FC<Props> = ({
|
||||
|
||||
const switchCamera = useSwitchCamera(
|
||||
useObservable(
|
||||
(inputs) => inputs.pipe(map(([video]) => video)),
|
||||
(inputs$) => inputs$.pipe(map(([video]) => video)),
|
||||
[videoTrack],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user