Merge branch 'master' of github.com:meshtastic/meshtastic-web

This commit is contained in:
Sacha Weatherstone
2022-08-22 16:50:40 +10:00
52 changed files with 813 additions and 1245 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ export const QRDialog = ({
settings: channelsToEncode,
})
);
const base64 = fromByteArray(encoded);
const base64 = fromByteArray(encoded)
.replace(/=/g, "")
.replace(/\+/g, "-")
.replace(/\//g, "_");
setQRCodeURL(`https://www.meshtastic.org/e/#${base64}`);
}, [channels, selectedChannels, loraConfig]);