diff --git a/ui/frontend/build_src/src/App.tsx b/ui/frontend/build_src/src/App.tsx index fc245456..a3cd0b0b 100644 --- a/ui/frontend/build_src/src/App.tsx +++ b/ui/frontend/build_src/src/App.tsx @@ -7,7 +7,7 @@ import { darkTheme, lightTheme } from "./styles/theme/index.css.ts"; import "./Translation/config"; const location = new ReactLocation(); -function App () { +function App() { // just check for the theme one 1 time // var { matches } = window.matchMedia('(prefers-color-scheme: dark)') diff --git a/ui/frontend/build_src/src/api/index.ts b/ui/frontend/build_src/src/api/index.ts index 5524b2e6..9802718b 100644 --- a/ui/frontend/build_src/src/api/index.ts +++ b/ui/frontend/build_src/src/api/index.ts @@ -59,7 +59,6 @@ export const toggleBetaConfig = async (branch: string) => { export const MakeImageKey = "MakeImage"; export const doMakeImage = async (reqBody: ImageRequest) => { - const res = await fetch(`${API_URL}/image`, { method: "POST", headers: { diff --git a/ui/frontend/build_src/src/components/atoms/modifierTag/index.tsx b/ui/frontend/build_src/src/components/atoms/modifierTag/index.tsx index b794c986..62e9f638 100644 --- a/ui/frontend/build_src/src/components/atoms/modifierTag/index.tsx +++ b/ui/frontend/build_src/src/components/atoms/modifierTag/index.tsx @@ -5,7 +5,7 @@ interface ModifierTagProps { name: string; } -export default function ModifierTag ({ name }: ModifierTagProps) { +export default function ModifierTag({ name }: ModifierTagProps) { const hasTag = useImageCreate((state) => state.hasTag(name)) ? "selected" : ""; diff --git a/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx b/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx index 6595bb31..5e236393 100644 --- a/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx +++ b/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx @@ -16,7 +16,7 @@ interface DrawImageProps { isErasing: boolean; } -export default function DrawImage ({ +export default function DrawImage({ imageData, brushSize, brushShape, diff --git a/ui/frontend/build_src/src/components/molecules/generatedImage/index.tsx b/ui/frontend/build_src/src/components/molecules/generatedImage/index.tsx index ef994c29..23a28ce2 100644 --- a/ui/frontend/build_src/src/components/molecules/generatedImage/index.tsx +++ b/ui/frontend/build_src/src/components/molecules/generatedImage/index.tsx @@ -14,7 +14,7 @@ interface GeneretaedImageProps { // children: never[]; } -export default function GeneratedImage ({ +export default function GeneratedImage({ imageData, metadata, className, diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx index 2f58e629..2453275e 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx @@ -4,10 +4,9 @@ import { useImageCreate } from "../../../../../stores/imageCreateStore"; import { useCreateUI } from "../../creationPanelUIStore"; import { - SettingItem // @ts-expect-error + SettingItem, // @ts-expect-error } from "../../../../../styles/shared.css.ts"; - import { MenuButton, // @ts-expect-error } from "../advancedsettings.css.ts"; diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx index fe41bfc5..de230621 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx @@ -4,7 +4,7 @@ import { useImageCreate } from "../../../../../stores/imageCreateStore"; import { useCreateUI } from "../../creationPanelUIStore"; import { - SettingItem // @ts-expect-error + SettingItem, // @ts-expect-error } from "../../../../../styles/shared.css.ts"; import { MenuButton, // @ts-expect-error @@ -43,7 +43,6 @@ export default function ImprovementSettings() { const [isFilteringDisabled, setIsFilteringDisabled] = useState(false); // should probably be a store selector useEffect(() => { - // if either are true we arent disabled if (isUsingFaceCorrection || useUpscale) { setIsFilteringDisabled(false); diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx index 303ab51b..4dcb7fdb 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx @@ -16,7 +16,7 @@ import GpuSettings from "./gpuSettings"; import BetaMode from "../../../molecules/betaMode"; -function SettingsList () { +function SettingsList() { return (
{info?.prompt}