🔧 fix lint errors and bumb version

This commit is contained in:
Thomas Camlong
2022-11-12 08:12:54 +09:00
parent 7414f02667
commit dfdb8678b7
21 changed files with 82 additions and 87 deletions

View File

@@ -308,7 +308,9 @@ export function AddAppShelfItemForm(props: AddAppShelfItemFormProps) {
target="_blank"
weight="bold"
style={{ fontStyle: 'inherit', fontSize: 'inherit' }}
href={`${hostname}/${apiKeyPaths[form.values.type as keyof typeof apiKeyPaths]}`}
href={`${hostname}/${
apiKeyPaths[form.values.type as keyof typeof apiKeyPaths]
}`}
>
{t('modal.tabs.options.form.integrations.apiKey.tip.link')}
</Anchor>

View File

@@ -1,14 +1,5 @@
import React, { useState } from 'react';
import {
Accordion,
Divider,
Grid,
Paper,
Stack,
Text,
Title,
useMantineColorScheme,
} from '@mantine/core';
import { Accordion, Grid, Paper, Stack, Text, useMantineColorScheme } from '@mantine/core';
import {
closestCenter,
DndContext,
@@ -202,7 +193,7 @@ const AppShelf = (props: any) => {
<Accordion.Control>{t('accordions.downloads.text')}</Accordion.Control>
<Accordion.Panel>
<Paper radius="lg" style={{ position: 'relative' }}>
{torrentEnabled && (
{torrentEnabled && (
<>
<Text>{t('accordions.downloads.torrents')}</Text>
<ModuleMenu module={TorrentsModule} hovered />

View File

@@ -49,11 +49,7 @@ export function SearchNewTabSwitch() {
return (
<Group>
<div className={classes.root}>
<Switch
checked={openInNewTab}
onChange={() => toggleOpenInNewTab()}
size="md"
/>
<Switch checked={openInNewTab} onChange={() => toggleOpenInNewTab()} size="md" />
</div>
{t('searchNewTab.label')}
</Group>

View File

@@ -47,22 +47,22 @@ export default function TitleChanger() {
<Stack>
<TextInput
label={t('pageTitle.label')}
placeholder={'Homarr 🦞'}
placeholder="Homarr 🦞"
{...form.getInputProps('title')}
/>
<TextInput
label={t('logo.label')}
placeholder={'/imgs/logo.png}
placeholder="/imgs/logo.png"
{...form.getInputProps('logo')}
/>
<TextInput
label={t('favicon.label')}
placeholder={'/imgs/favicon/favicon.png'}
placeholder="/imgs/favicon/favicon.png"
{...form.getInputProps('favicon')}
/>
<TextInput
label={t('background.label')}
placeholder={'/img/background.png'}
placeholder="/img/background.png"
{...form.getInputProps('background')}
/>
<Textarea

View File

@@ -42,9 +42,7 @@ export default function Layout({ children, style }: any) {
>
{children}
</main>
<style>
{cx(config.settings.customCSS)}
</style>
<style>{cx(config.settings.customCSS)}</style>
</AppShell>
);
}