这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

No description provided.

@timothycarambat timothycarambat merged commit dbb865f into master Feb 14, 2024
@timothycarambat timothycarambat deleted the thread-ui-patches branch February 14, 2024 21:16
@review-agent-prime
Copy link

frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx

Instead of using a function in the onClick handler directly, you can define a function outside the return statement and call it in the onClick handler. This will prevent unnecessary re-rendering of the component.
Create Issue
See the diff
Checkout the fix

    const handleShowOptions = () => setShowOptions(prevShowOptions => !prevShowOptions);
    ...
    <button
      type="button"
      onClick={handleShowOptions}
    >
git fetch origin && git checkout -b ReviewBot/Impro-wp6wngl origin/ReviewBot/Impro-wp6wngl

cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants