From f49cf10c88f6edf75b314bcd3bbad69dc3242f15 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 4 Oct 2023 05:32:05 -0400 Subject: [PATCH] fix compile nits --- .../v2/view/pages/lipsync/LipsyncEditor/LipsyncEditor.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/fakeyou.com/src/v2/view/pages/lipsync/LipsyncEditor/LipsyncEditor.tsx b/packages/fakeyou.com/src/v2/view/pages/lipsync/LipsyncEditor/LipsyncEditor.tsx index 9eeb8d9fd0..8b33edf78b 100644 --- a/packages/fakeyou.com/src/v2/view/pages/lipsync/LipsyncEditor/LipsyncEditor.tsx +++ b/packages/fakeyou.com/src/v2/view/pages/lipsync/LipsyncEditor/LipsyncEditor.tsx @@ -2,7 +2,7 @@ import React, { useState } from "react"; import { animated, useTransition } from "@react-spring/web"; import { v4 as uuidv4 } from "uuid"; import { useFile, useLocalize } from "hooks"; -import { AudioInput, Checkbox, ImageInput, NumberSlider, SegmentButtons, Spinner } from "components/common"; +import { AudioInput, Checkbox, ImageInput, SegmentButtons, Spinner } from "components/common"; import { springs } from "resources"; import { UploadAudio, @@ -176,19 +176,19 @@ export default function LipsyncEditor({ const [index, indexSet] = useState(0); // index = slideshow slide position - const [animationStyle,animationStyleSet] = useState(0); + //const [animationStyle,animationStyleSet] = useState(0); const [frameDimensions,frameDimensionsSet] = useState("twitter_square"); const [removeWatermark,removeWatermarkSet] = useState(false); const [disableFaceEnhancement,disableFaceEnhancementSet] = useState(false); const [still,stillSet] = useState(false); - const animationChange = ({ target }: any) => animationStyleSet(target.value); + //const animationChange = ({ target }: any) => animationStyleSet(target.value); const frameDimensionsChange = ({ target }: any) => frameDimensionsSet(target.value); const removeWatermarkChange = ({ target }: any) => removeWatermarkSet(target.checked); const disableFaceEnhancementChange = ({ target }: any) => disableFaceEnhancementSet(target.checked); const stillChange = ({ target }: any) => stillSet(target.checked); const clearInputs = () => { - animationStyleSet(0); + //animationStyleSet(0); stillSet(false); frameDimensionsSet("twitter_square"); removeWatermarkSet(false);