Skip to content

Commit

Permalink
fix: just one eslint error remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi-Tom committed Jul 4, 2024
1 parent 6987e6e commit 65c78c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Home/YouAreInControlOfYourDataSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
>
<img alt="container" class="rounded-3xl" src="../../assets/home/shield_container.png" />
<div>
<!-- eslint-disable-next-line rule -->
<img
v-for="(_shieldRef, index) in shieldRefs"
:key="index"
:ref="setShieldRef(index)"
:ref="setShieldRef(index) as VNodeRef | undefined"
:style="getShieldStyle(index)"
class="shield-image absolute inset-0"
alt="shield"
Expand All @@ -34,7 +33,7 @@
</template>

<script lang="ts">
import { ref, onMounted, onUnmounted, Ref } from "vue";
import { ref, onMounted, onUnmounted, Ref, VNodeRef } from "vue";
import LTinyHeading from "../../components/LTinyHeading.vue";
interface ShieldRef extends HTMLElement {
Expand Down Expand Up @@ -118,6 +117,7 @@ export default {
handleMouseLeave,
};
},
methods: { VNodeRef },

Check failure on line 120 in src/pages/Home/YouAreInControlOfYourDataSection.vue

View workflow job for this annotation

GitHub Actions / Build

'VNodeRef' only refers to a type, but is being used as a value here.
};
</script>

Expand Down

0 comments on commit 65c78c9

Please sign in to comment.