mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Use ...rest
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
f440c3f2c8
commit
45cfdef45d
@ -63,11 +63,11 @@ interface Props {
|
||||
feed: CallFeed;
|
||||
}
|
||||
|
||||
export const VideoTileSettingsModal = (props: Props) => {
|
||||
export const VideoTileSettingsModal = ({ feed, ...rest }: Props) => {
|
||||
return (
|
||||
<Modal title="Feed settings" isDismissable mobileFullScreen {...props}>
|
||||
<Modal title="Feed settings" isDismissable mobileFullScreen {...rest}>
|
||||
<div className={styles.content}>
|
||||
<LocalVolume feed={props.feed} />
|
||||
<LocalVolume feed={feed} />
|
||||
</div>
|
||||
</Modal>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user