aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-25 17:03:16 -0400
committerbobzel <zzzman@gmail.com>2021-03-25 17:03:16 -0400
commitb9ca11920e4c837e38fd1924062f271030892502 (patch)
tree6495d1e100c85a28c85b4708fd3b4c7269af6030
parentc7619302a639c61096249362167e75dca6dbb376 (diff)
minor error fixes.
-rw-r--r--src/client/views/PropertiesButtons.tsx2
-rw-r--r--src/client/views/nodes/VideoBox.tsx3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index 71f753d51..5c8b5f985 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -167,7 +167,7 @@ export class PropertiesButtons extends React.Component<{}, {}> {
get onPerspectiveFlyout() {
const excludedViewTypes = [CollectionViewType.Invalid, CollectionViewType.Docking, CollectionViewType.Pile, CollectionViewType.StackedTimeline, CollectionViewType.Linear];
- const makeLabel = (value: string, label: string) => <div className="radio">
+ const makeLabel = (value: string, label: string) => <div className="radio" key={label}>
<label>
<input type="radio" value={value} checked={(this.selectedDoc?._viewType ?? "invalid") === value} onChange={this.handlePerspectiveChange} />
{label}
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index d5981c5ba..4e03589d6 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -389,9 +389,6 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps, VideoD
<div className="videoBox-timelineButton" key="timeline" onPointerDown={this.onTimelineHdlDown} style={{ bottom: `${100 - this.heightPercent}%` }}>
<FontAwesomeIcon icon={"eye"} size="lg" />
</div>,
- <div className="videoBox-timelineButton" key="timeline" onPointerDown={this.onTimelineHdlDown} style={{ bottom: `${100 - this.heightPercent}%` }}>
- <FontAwesomeIcon icon={"eye"} size="lg" />
- </div>,
VideoBox._showControls ? (null) : [
// <div className="control-background">
<div className="videoBox-play" key="play" onPointerDown={this.onPlayDown} >