Skip to content
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

Workflow render error #16282

Closed
5 tasks done
ZeroZ-lab opened this issue Mar 20, 2025 · 1 comment · Fixed by #16283
Closed
5 tasks done

Workflow render error #16282

ZeroZ-lab opened this issue Mar 20, 2025 · 1 comment · Fixed by #16283
Labels
🐞 bug Something isn't working

Comments

@ZeroZ-lab
Copy link
Contributor

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v1.1.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

web/app/components/workflow/nodes/llm/panel.tsx
useEffect is not imported

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🐞 bug Something isn't working label Mar 20, 2025
Copy link

dosubot bot commented Mar 20, 2025

The error you're encountering is due to the useEffect hook not being imported in the web/app/components/workflow/nodes/llm/panel.tsx file. To resolve this issue, you need to import useEffect from React at the beginning of your file. You can do this by adding the following line:

import React, { useEffect } from 'react';

Make sure that useEffect is included in the import statement along with any other hooks or components you are using from React. This should resolve the TypeScript error you're seeing.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant