Remove unused code.
This commit is contained in:
@@ -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>;
|
||||
};
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user