diff --git a/src/widgets/WidgetWrapper.tsx b/src/widgets/WidgetWrapper.tsx index 7b7daa3be..43658072c 100644 --- a/src/widgets/WidgetWrapper.tsx +++ b/src/widgets/WidgetWrapper.tsx @@ -1,4 +1,4 @@ -import { ComponentType, useMemo } from 'react'; +import { ComponentType } from 'react'; import Widgets from '.'; import { HomarrCardWrapper } from '../components/Dashboard/Tiles/HomarrCardWrapper'; import { WidgetsMenu } from '../components/Dashboard/Tiles/Widgets/WidgetsMenu'; diff --git a/src/widgets/boundary.tsx b/src/widgets/boundary.tsx index 21530f9f3..1c2755ad0 100644 --- a/src/widgets/boundary.tsx +++ b/src/widgets/boundary.tsx @@ -94,7 +94,7 @@ class ErrorBoundary extends React.Component - {(this.props.t('modal.reportButton'))} + {this.props.t('modal.reportButton')} ), diff --git a/src/widgets/rss/RssWidgetTile.tsx b/src/widgets/rss/RssWidgetTile.tsx index fb25026d0..b1eab57cd 100644 --- a/src/widgets/rss/RssWidgetTile.tsx +++ b/src/widgets/rss/RssWidgetTile.tsx @@ -1,5 +1,3 @@ -import { defineWidget } from '../helper'; -import { IWidget } from '../widgets'; import { ActionIcon, Badge, @@ -31,6 +29,8 @@ import dayjs from 'dayjs'; import { useTranslation } from 'next-i18next'; import Link from 'next/link'; import { useState } from 'react'; +import { IWidget } from '../widgets'; +import { defineWidget } from '../helper'; const definition = defineWidget({ id: 'rss',