diff --git a/package.json b/package.json index 4cce609f5096..5b95ff18a6d5 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "test:debug": "TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand", "perf-test": "NODE_OPTIONS=--experimental-vm-modules npx reassure", "typecheck": "NODE_OPTIONS=--max_old_space_size=8192 tsc", - "lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=247 --cache --cache-location=node_modules/.cache/eslint", + "lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=246 --cache --cache-location=node_modules/.cache/eslint", "lint-changed": "NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh", "lint-watch": "npx eslint-watch --watch --changed", "shellcheck": "./scripts/shellCheck.sh", diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index 2bb62a6a5f65..739d708228c6 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -89,7 +89,8 @@ Onyx.connect({ }, }); -Onyx.connect({ +// Use connectWithoutView because it is only for fullstory initialization +Onyx.connectWithoutView({ key: ONYXKEYS.USER_METADATA, callback: Fullstory.consentAndIdentify, });