update meshtastic.js package version

This commit is contained in:
Sacha Weatherstone
2023-12-26 22:16:45 +10:00
parent dcab2c33d0
commit a4a5061171
54 changed files with 455 additions and 466 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import { Channel } from "@components/PageComponents/Channel.js";
import { PageLayout } from "@components/PageLayout.js";
import { Sidebar } from "@components/Sidebar.js";
import { useDevice } from "@core/stores/deviceStore.js";
import { Protobuf, Types } from "@meshtastic/meshtasticjs";
import { Protobuf, Types } from "@meshtastic/js";
import { ImportIcon, QrCodeIcon } from "lucide-react";
import { useState } from "react";
@@ -17,8 +17,8 @@ export const getChannelName = (channel: Protobuf.Channel) =>
channel.settings?.name.length
? channel.settings?.name
: channel.index === 0
? "Primary"
: `Ch ${channel.index}`;
? "Primary"
: `Ch ${channel.index}`;
export const ChannelsPage = (): JSX.Element => {
const { channels, setDialogOpen } = useDevice();