From f3fdac2762e2189a9b37af6c9c154ee423c84d51 Mon Sep 17 00:00:00 2001 From: caranicas Date: Wed, 14 Sep 2022 17:24:18 -0400 Subject: [PATCH] tidy and pretty --- .../creationPanel/advancedSettings/index.tsx | 2 +- .../displayPanel/audioDing/index.tsx | 18 ++------ .../displayPanel/currentImage/index.tsx | 43 ------------------- .../src/components/displayPanel/index.tsx | 13 ++---- .../build_src/src/store/imageCreateStore.ts | 2 +- 5 files changed, 9 insertions(+), 69 deletions(-) delete mode 100644 ui/frontend/build_src/src/components/displayPanel/currentImage/index.tsx diff --git a/ui/frontend/build_src/src/components/creationPanel/advancedSettings/index.tsx b/ui/frontend/build_src/src/components/creationPanel/advancedSettings/index.tsx index 9f7cf63c..5aff1014 100644 --- a/ui/frontend/build_src/src/components/creationPanel/advancedSettings/index.tsx +++ b/ui/frontend/build_src/src/components/creationPanel/advancedSettings/index.tsx @@ -29,7 +29,7 @@ function SettingsList() { const toggleUseFaceCorrection = useImageCreate( (state) => state.toggleUseFaceCorrection ); - + const isUsingFaceCorrection = useImageCreate((state) => state.isUsingFaceCorrection() ); diff --git a/ui/frontend/build_src/src/components/displayPanel/audioDing/index.tsx b/ui/frontend/build_src/src/components/displayPanel/audioDing/index.tsx index c6ec7edd..5be0f13d 100644 --- a/ui/frontend/build_src/src/components/displayPanel/audioDing/index.tsx +++ b/ui/frontend/build_src/src/components/displayPanel/audioDing/index.tsx @@ -1,25 +1,13 @@ import React from "react"; - -import { useRef } from "react"; import { API_URL } from "../../../api"; const url = `${API_URL}/ding.mp3`; const AudioDing = React.forwardRef((props, ref) => ( -