From a848febd3d31d91033f63dc395d9d2f3696ab1ad Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 25 Mar 2021 17:45:00 -0600 Subject: [PATCH] Definitely didn't copy/paste these --- src/components/views/voice_messages/LiveRecordingWaveform.tsx | 2 +- src/components/views/voice_messages/Waveform.tsx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/views/voice_messages/LiveRecordingWaveform.tsx b/src/components/views/voice_messages/LiveRecordingWaveform.tsx index d0048ac9cb..b94eae0f56 100644 --- a/src/components/views/voice_messages/LiveRecordingWaveform.tsx +++ b/src/components/views/voice_messages/LiveRecordingWaveform.tsx @@ -18,7 +18,7 @@ import React from "react"; import {IRecordingUpdate, VoiceRecorder} from "../../../voice/VoiceRecorder"; import {replaceableComponent} from "../../../utils/replaceableComponent"; import {arrayFastResample, arraySeed} from "../../../utils/arrays"; -import {clamp, percentageOf} from "../../../utils/numbers"; +import {percentageOf} from "../../../utils/numbers"; import Waveform from "./Waveform"; interface IProps { diff --git a/src/components/views/voice_messages/Waveform.tsx b/src/components/views/voice_messages/Waveform.tsx index 9736db54d1..4c3edcb927 100644 --- a/src/components/views/voice_messages/Waveform.tsx +++ b/src/components/views/voice_messages/Waveform.tsx @@ -15,10 +15,7 @@ limitations under the License. */ import React from "react"; -import {IRecordingUpdate, VoiceRecorder} from "../../../voice/VoiceRecorder"; import {replaceableComponent} from "../../../utils/replaceableComponent"; -import {arrayFastResample, arraySeed} from "../../../utils/arrays"; -import {percentageOf} from "../../../utils/numbers"; interface IProps { heights: number[]; // percentages as integers (0-100)