mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
@@ -3,7 +3,6 @@ import {
|
||||
Box,
|
||||
Card,
|
||||
Group,
|
||||
Indicator,
|
||||
Stack,
|
||||
Text,
|
||||
Title,
|
||||
@@ -41,7 +40,7 @@ const definition = defineWidget({
|
||||
component: TorrentNetworkTrafficTile,
|
||||
});
|
||||
|
||||
export type ITorrentNetworkTraffic = IWidget<typeof definition['id'], typeof definition>;
|
||||
export type ITorrentNetworkTraffic = IWidget<(typeof definition)['id'], typeof definition>;
|
||||
|
||||
interface TorrentNetworkTrafficTileProps {
|
||||
widget: ITorrentNetworkTraffic;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { TorrentState } from '@ctrl/shared-torrent';
|
||||
import {
|
||||
Badge,
|
||||
Center,
|
||||
@@ -52,7 +51,7 @@ const definition = defineWidget({
|
||||
component: TorrentTile,
|
||||
});
|
||||
|
||||
export type ITorrent = IWidget<typeof definition['id'], typeof definition>;
|
||||
export type ITorrent = IWidget<(typeof definition)['id'], typeof definition>;
|
||||
|
||||
interface TorrentTileProps {
|
||||
widget: ITorrent;
|
||||
|
||||
Reference in New Issue
Block a user