Skip to content

Commit 12c9118

Browse files
committed
fix(ui): eslint
1 parent 0eefa54 commit 12c9118

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/ui/src/components/animation/MagicCard.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<div
6161
use:motion
6262
class="pointer-events-none absolute -inset-px rounded-xl opacity-0 transition-opacity duration-300 group-hover:opacity-100"
63-
/>
63+
></div>
6464
</Motion>
6565
</div>
6666

packages/ui/src/components/animation/RetroGrid.svelte

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script lang="ts">
22
import { cn } from "../../utils"
33
4-
let className: any = ""
5-
export { className as class }
4+
let { class: className }: { class?: string } = $props()
65
</script>
76

87
<div

packages/ui/src/components/animation/meteros.svelte

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
import { cn } from "../../utils"
44
55
export let number = 10
6-
let meteorStyles: any = []
6+
let meteorStyles: {
7+
top: number
8+
left: string
9+
animationDelay: string
10+
animationDuration: string
11+
}[] = []
712
let changeMeteors = (num: number) => {
813
meteorStyles = []
914
const styles = [...new Array(num)].map(() => ({

0 commit comments

Comments
 (0)