Start moduleConfig & general import cleanup
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import type React from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import prettyMilliseconds from "pretty-ms";
|
||||
|
||||
import { useDevice } from "@app/core/providers/useDevice.js";
|
||||
import { useDevice } from "@core/providers/useDevice.js";
|
||||
import { Battery100Icon, ClockIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
export interface BatteryWidgetProps {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import type React from "react";
|
||||
|
||||
import { Button } from "@components/form/Button.js";
|
||||
import { Hashicon } from "@emeraldpay/hashicon-react";
|
||||
import { XCircleIcon } from "@heroicons/react/24/outline";
|
||||
@@ -21,7 +19,7 @@ export const DeviceWidget = ({
|
||||
}: DeviceWidgetProps): JSX.Element => {
|
||||
return (
|
||||
<div className="relative flex shrink-0 flex-col overflow-hidden rounded-md text-sm text-textPrimary">
|
||||
<div className="bg-backgroundPrimary flex p-3">
|
||||
<div className="flex bg-backgroundPrimary p-3">
|
||||
<div>
|
||||
<Hashicon size={96} value={nodeNum} />
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import type React from "react";
|
||||
|
||||
import { useDevice } from "@app/core/providers/useDevice.js";
|
||||
import { useDevice } from "@core/providers/useDevice.js";
|
||||
import { IconButton } from "@components/form/IconButton.js";
|
||||
import { Mono } from "@components/generic/Mono.js";
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import type React from "react";
|
||||
|
||||
import { MapPinIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
export interface PositionWidgetProps {
|
||||
|
||||
Reference in New Issue
Block a user