From 497e22830eadb1d6bd2c1c6e6d1af8df8488b3a6 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:05:26 +0000 Subject: [PATCH] style: Format code with prettier Format code with prettier This commit fixes the style issues introduced in e966fda according to the output from prettier. Details: https://deepsource.io/gh/ajnart/homarr/transform/d081bf6a-f351-4ebd-a249-c708aaec7e67/ --- src/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 5d40d1b49..f9616862b 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -149,7 +149,7 @@ App.getInitialProps = ({ ctx }: { ctx: GetServerSidePropsContext }) => { Consola.debug(`Overriding the default color scheme with ${process.env.DEFAULT_COLOR_SCHEME}`); } - const colorScheme: ColorScheme = process.env.DEFAULT_COLOR_SCHEME as ColorScheme ?? 'light'; + const colorScheme: ColorScheme = (process.env.DEFAULT_COLOR_SCHEME as ColorScheme) ?? 'light'; return { colorScheme: getCookie('color-scheme', ctx) || 'light',