[$500] Web - Error message when adding the following snippet in consol #32391
Labels
Bug
Something is broken. Auto assigns a BugZero manager.
Daily
KSv2
External
Added to denote the issue can be worked on by a contributor
Help Wanted
Apply this label when an issue is open to proposals by contributors
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.7-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #32063
Action Performed:
useEffect(() => {
let theme = 'dark';
setInterval(() => {
const newTheme = theme === 'dark' ? 'light' : 'dark';
theme = newTheme;
// eslint-disable-next-line rulesdir/prefer-actions-set-data
Onyx.set(ONYXKEYS.PREFERRED_THEME, newTheme);
}, 3000);
}, []);
Expected Result:
No error message when adding the following snippet in consol
Actual Result:
Error message when adding the following snippet in consol
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
![Bug6298049_1701471148454!image__185_](https://github.com/Expensify/App/assets/78819774/c6874732-8748-46ea-99a3-05cdd2152de4)View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: