Fix unneeded use of let

This commit is contained in:
Bill Thornton 2021-02-16 14:33:25 -05:00
parent 3613cd6ee0
commit 48a62a2879

View File

@ -11,7 +11,7 @@ export function getAppName() {
}
export function getSafeDeviceName() {
let safeName = Constants.deviceName
const safeName = Constants.deviceName
// Replace non-ascii apostrophe with single quote (default on iOS)
.replace(//g, '\'')
// Remove all other non-ascii characters