You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
importReact,{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.
Self Checks
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
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: