Minor fixes, start channel editor migration

This commit is contained in:
Sacha Weatherstone
2023-02-13 22:45:42 +10:00
parent 292bd59099
commit d79a6965c0
5 changed files with 275 additions and 179 deletions
+1 -7
View File
@@ -55,13 +55,7 @@ export const ConfigPage = (): JSX.Element => {
}
]}
>
<div className="p-3">
{activeConfigSection === "device" ? (
<DeviceConfig />
) : (
<ModuleConfig />
)}
</div>
{activeConfigSection === "device" ? <DeviceConfig /> : <ModuleConfig />}
</PageLayout>
</>
);
+1 -1
View File
@@ -13,7 +13,6 @@ import {
} from "lucide-react";
import { bbox, lineString } from "@turf/turf";
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";
@@ -61,6 +60,7 @@ export const MapPage = (): JSX.Element => {
</Sidebar>
<PageLayout
label="Map"
noPadding
actions={[
{
icon: ZoomInIcon,