mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🚨 Lint and prettier
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { ComponentType, useMemo } from 'react';
|
import { ComponentType } from 'react';
|
||||||
import Widgets from '.';
|
import Widgets from '.';
|
||||||
import { HomarrCardWrapper } from '../components/Dashboard/Tiles/HomarrCardWrapper';
|
import { HomarrCardWrapper } from '../components/Dashboard/Tiles/HomarrCardWrapper';
|
||||||
import { WidgetsMenu } from '../components/Dashboard/Tiles/Widgets/WidgetsMenu';
|
import { WidgetsMenu } from '../components/Dashboard/Tiles/Widgets/WidgetsMenu';
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundarySta
|
|||||||
mt="md"
|
mt="md"
|
||||||
fullWidth
|
fullWidth
|
||||||
>
|
>
|
||||||
{(this.props.t('modal.reportButton'))}
|
{this.props.t('modal.reportButton')}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import { defineWidget } from '../helper';
|
|
||||||
import { IWidget } from '../widgets';
|
|
||||||
import {
|
import {
|
||||||
ActionIcon,
|
ActionIcon,
|
||||||
Badge,
|
Badge,
|
||||||
@@ -31,6 +29,8 @@ import dayjs from 'dayjs';
|
|||||||
import { useTranslation } from 'next-i18next';
|
import { useTranslation } from 'next-i18next';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
import { IWidget } from '../widgets';
|
||||||
|
import { defineWidget } from '../helper';
|
||||||
|
|
||||||
const definition = defineWidget({
|
const definition = defineWidget({
|
||||||
id: 'rss',
|
id: 'rss',
|
||||||
|
|||||||
Reference in New Issue
Block a user