mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
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/
This commit is contained in:
committed by
Manuel
parent
e966fdad71
commit
497e22830e
@@ -149,7 +149,7 @@ App.getInitialProps = ({ ctx }: { ctx: GetServerSidePropsContext }) => {
|
|||||||
Consola.debug(`Overriding the default color scheme with ${process.env.DEFAULT_COLOR_SCHEME}`);
|
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 {
|
return {
|
||||||
colorScheme: getCookie('color-scheme', ctx) || 'light',
|
colorScheme: getCookie('color-scheme', ctx) || 'light',
|
||||||
|
|||||||
Reference in New Issue
Block a user