mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
🎨 Format codebase
This commit is contained in:
@@ -25,7 +25,7 @@ const definition = defineWidget({
|
||||
component: DateTile,
|
||||
});
|
||||
|
||||
export type IDateWidget = IWidget<typeof definition['id'], typeof definition>;
|
||||
export type IDateWidget = IWidget<(typeof definition)['id'], typeof definition>;
|
||||
|
||||
interface DateTileProps {
|
||||
widget: IDateWidget;
|
||||
|
||||
@@ -43,7 +43,7 @@ function IFrameTile({ widget }: IFrameTileProps) {
|
||||
<IconUnlink size={36} strokeWidth={1.2} />
|
||||
<Stack align="center" spacing={0}>
|
||||
<Title order={6} align="center">
|
||||
{t('card.errors.noUrl.title')}
|
||||
{t('card.errors.noUrl.title')}
|
||||
</Title>
|
||||
<Text align="center" maw={200}>
|
||||
{t('card.errors.noUrl.text')}
|
||||
|
||||
@@ -107,7 +107,9 @@ export const DetailCollapseable = ({ session }: { session: GenericSessionInfo })
|
||||
</Group>
|
||||
<Text>{session.sessionName}</Text>
|
||||
</Flex>
|
||||
{details.length > 0 && <Divider label="Stats for nerds" labelPosition="center" mt="lg" mb="sm" />}
|
||||
{details.length > 0 && (
|
||||
<Divider label="Stats for nerds" labelPosition="center" mt="lg" mb="sm" />
|
||||
)}
|
||||
<Grid>
|
||||
{details.map((detail, index) => (
|
||||
<Grid.Col xs={12} sm={6} key={index}>
|
||||
|
||||
@@ -46,7 +46,7 @@ const definition = defineWidget({
|
||||
},
|
||||
});
|
||||
|
||||
export type IUsenetWidget = IWidget<typeof definition['id'], typeof definition>;
|
||||
export type IUsenetWidget = IWidget<(typeof definition)['id'], typeof definition>;
|
||||
|
||||
interface UseNetTileProps {
|
||||
widget: IUsenetWidget;
|
||||
|
||||
@@ -28,7 +28,7 @@ const definition = defineWidget({
|
||||
component: WeatherTile,
|
||||
});
|
||||
|
||||
export type IWeatherWidget = IWidget<typeof definition['id'], typeof definition>;
|
||||
export type IWeatherWidget = IWidget<(typeof definition)['id'], typeof definition>;
|
||||
|
||||
interface WeatherTileProps {
|
||||
widget: IWeatherWidget;
|
||||
|
||||
Reference in New Issue
Block a user