enzostvs HF Staff commited on
Commit
14d4d0e
·
1 Parent(s): b3e1908

run format

Browse files
src/lib/components/chat/markdown/Think.svelte CHANGED
@@ -36,7 +36,7 @@
36
  };
37
 
38
  $effect(() => {
39
- if (!isThinking) {
40
  isCollapsed = true;
41
  }
42
  });
@@ -50,7 +50,7 @@
50
  onclick={toggleCollapse}
51
  >
52
  <div
53
- class="flex size-7 min-h-7 min-w-7 items-center justify-center rounded-lg bg-linear-to-br from-primary/20 to-primary/5 {isThinking &&
54
  'animate-pulse'}"
55
  >
56
  <Brain class="size-3.5 text-muted-foreground" />
 
36
  };
37
 
38
  $effect(() => {
39
+ if (isThinking) {
40
  isCollapsed = true;
41
  }
42
  });
 
50
  onclick={toggleCollapse}
51
  >
52
  <div
53
+ class="flex size-7 min-h-7 min-w-7 items-center justify-center rounded-lg bg-linear-to-br from-primary/20 to-primary/5 {!isThinking &&
54
  'animate-pulse'}"
55
  >
56
  <Brain class="size-3.5 text-muted-foreground" />