import type React from 'react'; import { Button } from '@components/generic/button/Button'; import { Card } from '@components/generic/Card'; import { connection } from '@core/connection'; import { useAppSelector } from '@hooks/useAppSelector'; export const Debug = (): JSX.Element => { const hardwareInfo = useAppSelector( (state) => state.meshtastic.radio.hardware, ); const node = useAppSelector((state) => state.meshtastic.nodes.find((node) => node.num === hardwareInfo.myNodeNum), ); return (