Skip to content

Commit d833d4c

Browse files
committed
changing from let to const
1 parent 0a2922c commit d833d4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libs/Fullstory/index.native.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const FS = {
4343
} else {
4444
Environment.getEnvironment().then((envName: string) => {
4545
// define FullStory user identity
46-
let localMetadata = metadata;
46+
const localMetadata = metadata;
4747
localMetadata.environment = envName;
4848
FullStory.identify(String(localMetadata.accountID), {
4949
properties: localMetadata,

src/libs/Fullstory/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const FS = {
6464
FS.onReady().then(() => {
6565
FS.consent(true);
6666
if (value) {
67-
let localMetadata = value;
67+
const localMetadata = value;
6868
localMetadata.environment = envName;
6969
FS.fsIdentify(localMetadata);
7070
}

0 commit comments

Comments
 (0)