fix import paths, remove old form elements
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import { Sidebar } from "@app/components/Sidebar.js";
|
||||
import { PageLayout } from "@app/components/PageLayout.js";
|
||||
import { Sidebar } from "@components/Sidebar.js";
|
||||
import { PageLayout } from "@components/PageLayout.js";
|
||||
import { cn } from "@app/core/utils/cn.js";
|
||||
import { Channel } from "@components/PageComponents/Channel.js";
|
||||
import { useDevice } from "@core/stores/deviceStore.js";
|
||||
import { QrCodeIcon, ImportIcon } from "lucide-react";
|
||||
import { Protobuf, Types } from "@meshtastic/meshtasticjs";
|
||||
import { SidebarSection } from "@app/components/UI/Sidebar/SidebarSection.js";
|
||||
import { SidebarSection } from "@components/UI/Sidebar/SidebarSection.js";
|
||||
import { useState } from "react";
|
||||
import { Button } from "@app/components/UI/Button.js";
|
||||
import { SidebarButton } from "@app/components/UI/Sidebar/sidebarButton.js";
|
||||
import { Button } from "@components/UI/Button.js";
|
||||
import { SidebarButton } from "@components/UI/Sidebar/sidebarButton.js";
|
||||
|
||||
export const getChannelName = (channel: Protobuf.Channel) =>
|
||||
channel.settings?.name.length
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { Sidebar } from "@app/components/Sidebar.js";
|
||||
import { Sidebar } from "@components/Sidebar.js";
|
||||
import { SettingsIcon, BoxesIcon, SaveIcon } from "lucide-react";
|
||||
import { DeviceConfig } from "@pages/Config/DeviceConfig.js";
|
||||
import { ModuleConfig } from "@pages/Config/ModuleConfig.js";
|
||||
import { PageLayout } from "@app/components/PageLayout.js";
|
||||
import { SidebarSection } from "@app/components/UI/Sidebar/SidebarSection.js";
|
||||
import { PageLayout } from "@components/PageLayout.js";
|
||||
import { SidebarSection } from "@components/UI/Sidebar/SidebarSection.js";
|
||||
import { useState } from "react";
|
||||
import { useDevice } from "@app/core/stores/deviceStore.js";
|
||||
import { SidebarButton } from "@app/components/UI/Sidebar/sidebarButton.js";
|
||||
import { SidebarButton } from "@components/UI/Sidebar/sidebarButton.js";
|
||||
|
||||
export const ConfigPage = (): JSX.Element => {
|
||||
const { workingConfig, workingModuleConfig, connection } = useDevice();
|
||||
|
||||
+5
-5
@@ -3,8 +3,8 @@ import { Layer, Map, Marker, Source, useMap } from "react-map-gl";
|
||||
import { useAppStore } from "@core/stores/appStore.js";
|
||||
import { useDevice } from "@core/stores/deviceStore.js";
|
||||
import { Hashicon } from "@emeraldpay/hashicon-react";
|
||||
import { Sidebar } from "@app/components/Sidebar.js";
|
||||
import { PageLayout } from "@app/components/PageLayout.js";
|
||||
import { Sidebar } from "@components/Sidebar.js";
|
||||
import { PageLayout } from "@components/PageLayout.js";
|
||||
import {
|
||||
ZoomInIcon,
|
||||
ZoomOutIcon,
|
||||
@@ -12,9 +12,9 @@ import {
|
||||
MapPinIcon
|
||||
} from "lucide-react";
|
||||
import { bbox, lineString } from "@turf/turf";
|
||||
import { SidebarSection } from "@app/components/UI/Sidebar/SidebarSection.js";
|
||||
import { Button } from "@app/components/UI/Button.js";
|
||||
import { SidebarButton } from "@app/components/UI/Sidebar/sidebarButton.js";
|
||||
import { SidebarSection } from "@components/UI/Sidebar/SidebarSection.js";
|
||||
import { Button } from "@components/UI/Button.js";
|
||||
import { SidebarButton } from "@components/UI/Sidebar/sidebarButton.js";
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
|
||||
export const MapPage = (): JSX.Element => {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { Sidebar } from "@app/components/Sidebar.js";
|
||||
import { PageLayout } from "@app/components/PageLayout.js";
|
||||
import { Sidebar } from "@components/Sidebar.js";
|
||||
import { PageLayout } from "@components/PageLayout.js";
|
||||
import { ChannelChat } from "@components/PageComponents/Messages/ChannelChat.js";
|
||||
import { useDevice } from "@core/stores/deviceStore.js";
|
||||
import { Hashicon } from "@emeraldpay/hashicon-react";
|
||||
import { HashIcon } from "lucide-react";
|
||||
import { Protobuf, Types } from "@meshtastic/meshtasticjs";
|
||||
import { SidebarSection } from "@app/components/UI/Sidebar/SidebarSection.js";
|
||||
import { SidebarSection } from "@components/UI/Sidebar/SidebarSection.js";
|
||||
import { useState } from "react";
|
||||
import { getChannelName } from "./Channels.js";
|
||||
import { SidebarButton } from "@app/components/UI/Sidebar/sidebarButton.js";
|
||||
import { SidebarButton } from "@components/UI/Sidebar/sidebarButton.js";
|
||||
|
||||
export const MessagesPage = (): JSX.Element => {
|
||||
const { channels, nodes, hardware } = useDevice();
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { TimeAgo } from "@components/generic/Table/tmp/TimeAgo.js";
|
||||
import { useDevice } from "@core/stores/deviceStore.js";
|
||||
import { Hashicon } from "@emeraldpay/hashicon-react";
|
||||
import { Protobuf } from "@meshtastic/meshtasticjs";
|
||||
import { Sidebar } from "@app/components/Sidebar.js";
|
||||
import { Sidebar } from "@components/Sidebar.js";
|
||||
|
||||
export const PeersPage = (): JSX.Element => {
|
||||
const { connection, nodes } = useDevice();
|
||||
|
||||
Reference in New Issue
Block a user