diff --git a/ui/frontend/build_src/src/components/organisms/headerDisplay/index.tsx b/ui/frontend/build_src/src/components/organisms/headerDisplay/index.tsx
index 14752af5..e1efb1cd 100644
--- a/ui/frontend/build_src/src/components/organisms/headerDisplay/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/headerDisplay/index.tsx
@@ -24,12 +24,12 @@ export default function HeaderDisplay() {
useEffect(() => {
if (status === "success") {
// TODO also pass down the actual version
- const { update_branch } = data;
+ const { update_branch: updateBranch } = data;
// just hard coded for now
setVersion("v2.1");
- if (update_branch === "main") {
+ if (updateBranch === "main") {
setRelease("(stable)");
} else {
setRelease("(beta)");
diff --git a/ui/frontend/build_src/src/components/organisms/headerDisplay/statusDisplay/index.tsx b/ui/frontend/build_src/src/components/organisms/headerDisplay/statusDisplay/index.tsx
index 1462ce6f..37ac7127 100644
--- a/ui/frontend/build_src/src/components/organisms/headerDisplay/statusDisplay/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/headerDisplay/statusDisplay/index.tsx
@@ -13,7 +13,7 @@ const startingMessage = "Stable Diffusion is starting...";
const successMessage = "Stable Diffusion is ready to use!";
const errorMessage = "Stable Diffusion is not running!";
-export default function StatusDisplay({ className }: { className?: string }) {
+export default function StatusDisplay ({ className }: { className?: string }) {
const [statusMessage, setStatusMessage] = useState(startingMessage);
const [statusClass, setStatusClass] = useState(StartingStatus);
diff --git a/ui/frontend/build_src/src/pages/Experimental/index.tsx b/ui/frontend/build_src/src/pages/Experimental/index.tsx
index 9ca01644..1903a98b 100644
--- a/ui/frontend/build_src/src/pages/Experimental/index.tsx
+++ b/ui/frontend/build_src/src/pages/Experimental/index.tsx
@@ -1,6 +1,6 @@
import React from "react";
-export default function Beta() {
+export default function Beta () {
return (
Beta
diff --git a/ui/frontend/build_src/src/pages/Home/index.tsx b/ui/frontend/build_src/src/pages/Home/index.tsx
index 15f4007c..0447ae89 100644
--- a/ui/frontend/build_src/src/pages/Home/index.tsx
+++ b/ui/frontend/build_src/src/pages/Home/index.tsx
@@ -20,7 +20,7 @@ import CreationPanel from "../../components/organisms/creationPanel";
import DisplayPanel from "../../components/organisms/displayPanel";
import FooterDisplay from "../../components/organisms/footerDisplay";
-function Home({ className }: { className: any }) {
+function Home ({ className }: { className: any }) {
// Get the original save directory
const setRequestOption = useImageCreate((state) => state.setRequestOptions);
diff --git a/ui/frontend/build_src/src/pages/Settings/index.tsx b/ui/frontend/build_src/src/pages/Settings/index.tsx
index 182a7749..d0aa743f 100644
--- a/ui/frontend/build_src/src/pages/Settings/index.tsx
+++ b/ui/frontend/build_src/src/pages/Settings/index.tsx
@@ -1,6 +1,6 @@
import React from "react";
-export default function Settings({ className }: { className: any }) {
+export default function Settings ({ className }: { className: any }) {
return (
Settings
diff --git a/ui/frontend/build_src/src/stores/imageCreateStore.ts b/ui/frontend/build_src/src/stores/imageCreateStore.ts
index a6dedd85..739d1dcb 100644
--- a/ui/frontend/build_src/src/stores/imageCreateStore.ts
+++ b/ui/frontend/build_src/src/stores/imageCreateStore.ts
@@ -17,37 +17,37 @@ export type ImageRequest = {
num_inference_steps: number;
guidance_scale: number;
width:
- | 128
- | 192
- | 256
- | 320
- | 384
- | 448
- | 512
- | 576
- | 640
- | 704
- | 768
- | 832
- | 896
- | 960
- | 1024;
+ | 128
+ | 192
+ | 256
+ | 320
+ | 384
+ | 448
+ | 512
+ | 576
+ | 640
+ | 704
+ | 768
+ | 832
+ | 896
+ | 960
+ | 1024;
height:
- | 128
- | 192
- | 256
- | 320
- | 384
- | 448
- | 512
- | 576
- | 640
- | 704
- | 768
- | 832
- | 896
- | 960
- | 1024;
+ | 128
+ | 192
+ | 256
+ | 320
+ | 384
+ | 448
+ | 512
+ | 576
+ | 640
+ | 704
+ | 768
+ | 832
+ | 896
+ | 960
+ | 1024;
// allow_nsfw: boolean;
turbo: boolean;
use_cpu: boolean;
@@ -235,7 +235,7 @@ export const useImageCreate = create(
produce((state) => {
const isSeting =
typeof state.getValueForRequestKey("use_face_correction") ===
- "string"
+ "string"
? null
: "GFPGANv1.3";
state.requestOptions.use_face_correction = isSeting;
diff --git a/ui/frontend/build_src/src/stores/imageQueueStore.ts b/ui/frontend/build_src/src/stores/imageQueueStore.ts
index c4f3ced9..4af293e3 100644
--- a/ui/frontend/build_src/src/stores/imageQueueStore.ts
+++ b/ui/frontend/build_src/src/stores/imageQueueStore.ts
@@ -17,8 +17,8 @@ interface ImageQueueState {
// figure out why TS is complaining about this
// @ts-ignore
export const useImageQueue = create((set, get) => ({
- images: new Array(),
- completedImageIds: new Array(),
+ images: [],
+ completedImageIds: [],
// use produce to make sure we don't mutate state
addNewImage: (id: string, imgRec: ImageRequest, isRandom = false) => {
set(
diff --git a/ui/frontend/build_src/src/styles/theme/index.css.ts b/ui/frontend/build_src/src/styles/theme/index.css.ts
index ce0a3daf..27cc45ab 100644
--- a/ui/frontend/build_src/src/styles/theme/index.css.ts
+++ b/ui/frontend/build_src/src/styles/theme/index.css.ts
@@ -79,7 +79,7 @@ const app = createGlobalTheme(":root", {
},
},
- colors: colors,
+ colors,
});
export const darkTheme = createTheme(colors, {