Merge pull request #1035 from JoeMakuta/fix/derive-has-changes-and-use-functional-setstate

fix : derive has changes and use functional setstate
This commit is contained in:
Rohan Verma 2026-03-30 15:22:01 -07:00 committed by GitHub
commit d836eea554
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 46 additions and 52 deletions

View file

@ -69,7 +69,7 @@ export const ThinkingStepsDisplay: FC<{ steps: ThinkingStep[]; isThreadRunning?:
<div className="rounded-lg">
<button
type="button"
onClick={() => setIsOpen(!isOpen)}
onClick={() => setIsOpen(prev => !prev)}
className={cn(
"flex w-full items-center gap-1.5 text-left text-sm transition-colors",
"text-muted-foreground hover:text-foreground"