Remove unused code.

This commit is contained in:
Sacha Weatherstone
2022-08-20 18:48:41 +09:30
parent db8c8f916b
commit 170f2e62cf
8 changed files with 81 additions and 125 deletions
+4 -6
View File
@@ -1,9 +1,7 @@
import type React from "react"
import type React from "react";
import { Pane } from "evergreen-ui"
import { Pane } from "evergreen-ui";
export const HelpDialog = (): JSX.Element => {
return (
<Pane></Pane>
)
}
return <Pane></Pane>;
};
+4 -4
View File
@@ -45,13 +45,13 @@ export const QRDialog = ({
})
);
const base64 = fromByteArray(encoded)
.replace(/=/g, "")
.replace(/\+/g, "-")
.replace(/\//g, "_");
.replace(/=/g, "")
.replace(/\+/g, "-")
.replace(/\//g, "_");
setQRCodeURL(`https://www.meshtastic.org/e/#${base64}`);
}, [channels, selectedChannels, loraConfig]);
return (
<Dialog
isShown={isOpen}