Merge pull request #703 from robintown/fix-key-warning

Fix a warning about missing keys
This commit is contained in:
Robin 2022-11-02 12:36:28 -04:00 committed by GitHub
commit f93c022c27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}