enzostvs HF Staff commited on
Commit
39b6932
·
1 Parent(s): afa49b3
src/lib/components/error/Error.svelte CHANGED
@@ -9,8 +9,8 @@
9
  $effect(() => {
10
  if (error) {
11
  showAlert = true;
12
- const timer = setTimeout(() => (showAlert = false), 6_000);
13
- return () => clearTimeout(timer);
14
  } else {
15
  showAlert = false;
16
  }
@@ -33,8 +33,8 @@
33
  </div>
34
  Error
35
  <div
36
- class="absolute -right-2.5 bottom-0 h-2.5 w-2.5"
37
- style="background: radial-gradient(circle at top right, transparent 10px, rgb(244 63 94 / 0.1) 10px)"
38
  ></div>
39
  </div>
40
  <div
 
9
  $effect(() => {
10
  if (error) {
11
  showAlert = true;
12
+ // const timer = setTimeout(() => (showAlert = false), 6_000);
13
+ // return () => clearTimeout(timer);
14
  } else {
15
  showAlert = false;
16
  }
 
33
  </div>
34
  Error
35
  <div
36
+ class="absolute -right-3.5 bottom-0 h-3.5 w-3.5"
37
+ style="background: radial-gradient(circle at top right, transparent 14px, rgb(244 63 94 / 0.1) 14px)"
38
  ></div>
39
  </div>
40
  <div