Skip to content

Commit 6d99101

Browse files
committed
Fix MagicBento
1 parent ef84a39 commit 6d99101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/Components/MagicBento/MagicBento.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ const setupCardRef = (el: HTMLDivElement | null, index: number) => {
738738
:glow-color="glowColor"
739739
/>
740740

741-
<BentoCardGrid :grid-ref="(el: HTMLDivElement) => (gridRef = el)">
741+
<BentoCardGrid :grid-ref="(el: HTMLDivElement | null) => { gridRef = el; }">
742742
<div class="gap-2 grid card-responsive">
743743
<template v-for="(card, index) in cardData" :key="index">
744744
<ParticleCard

0 commit comments

Comments
 (0)