Use ...rest

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-07-28 08:11:19 +02:00
parent f440c3f2c8
commit 45cfdef45d
No known key found for this signature in database
GPG Key ID: D1D45825D60C24D2

View File

@ -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>
);