-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The file editor is displaying the wrong content. #1901
Comments
How to reproduce:
I can confirm it's a redux issue because when I store the code using useState, the bug fixed. Later, I will see if I can refactor it. |
@SmartManoj QQ20240519-215938-HD.mp4 |
I had some similar issues |
@Shimada666 Yes, affecting in latest versions even without nested dirs. |
This PR #1853 introduced this? |
It may be related to how the active file path is being updated. I can't do it today, so maybe you can take a look somewhere here? OpenDevin/frontend/src/components/file-explorer/TreeNode.tsx Lines 45 to 69 in 3e3dcd5
|
@SmartManoj @amanape The latest the code does not seem to have this issue, I will close this issue. |
Is there an existing issue for the same bug?
Describe the bug
After clicking refresh icon, the displayed file content becomes incorrect. However, upon inspecting using F12, the data returned from the backend is correct. I will debug and fix this issue later.
QQ20240519-175458-HD.mp4
Current Version
Installation and Configuration
Model and Agent
No response
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: