Loading states for settings, Improve Ch editor

This commit is contained in:
Sacha Weatherstone
2021-11-14 23:23:53 +11:00
parent 6f1f91e70a
commit d31e3c7c05
14 changed files with 178 additions and 155 deletions
+4 -2
View File
@@ -23,7 +23,9 @@ export const Channels = ({
setNavOpen,
}: ChannelsProps): JSX.Element => {
const { t } = useTranslation();
const channels = useAppSelector((state) => state.meshtastic.channels);
const channels = useAppSelector((state) => state.meshtastic.channels).filter(
(channel) => channel.index !== 0,
);
const [debug, setDebug] = React.useState(false);
return (
@@ -66,7 +68,7 @@ export const Channels = ({
<Channel key={channel.index} channel={channel} />
))}
<div className="flex space-x-52">
<div className="flex justify-between">
<div
onClick={(): Promise<void> => {
return connection.confirmSetChannel();