Fix a warning about missing keys

This commit is contained in:
Robin Townsend 2022-11-02 12:15:32 -04:00
commit 8731f83fb5

View file

@ -75,6 +75,7 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
if (!isLocal) { if (!isLocal) {
toolbarButtons.push( toolbarButtons.push(
<AudioButton <AudioButton
key="localVolume"
className={styles.button} className={styles.button}
volume={localVolume} volume={localVolume}
onPress={onOptionsPress} onPress={onOptionsPress}
@ -84,6 +85,7 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
if (screenshare) { if (screenshare) {
toolbarButtons.push( toolbarButtons.push(
<FullscreenButton <FullscreenButton
key="fullscreen"
className={styles.button} className={styles.button}
fullscreen={fullscreen} fullscreen={fullscreen}
onPress={onFullscreen} onPress={onFullscreen}