Skip to content

Commit

Permalink
chore: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 24, 2024
1 parent 511b31b commit 0b73fe9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/TheHome.server.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const { data: talks } = await useAsyncData(
},
)
return groups.slice(0, 4).map(([slug, [firstTalk]]) => firstTalk)
return groups.slice(0, 4).map(([_slug, [firstTalk]]) => firstTalk)
},
},
)
Expand Down
2 changes: 0 additions & 2 deletions src/components/layout/ThePresenceIndicator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const colorSet = {
const status = ref<keyof typeof colorSet>('default')
const count = ref<null | number>(null)
// eslint-disable-next-line vue/one-component-per-file
const LiveWrapper = defineComponent({
setup (_props, { slots }) {
return () =>
Expand All @@ -63,7 +62,6 @@ const LiveWrapper = defineComponent({
},
})
// eslint-disable-next-line vue/one-component-per-file
const PresenceWrapper = defineComponent({
setup (_props, { slots }) {
return () =>
Expand Down
4 changes: 3 additions & 1 deletion src/error.vue
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<template><div /></template>
<template>
<div />
</template>
2 changes: 1 addition & 1 deletion src/modules/slides.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { existsSync, promises as fsp } from 'node:fs'
import { defineNuxtModule, useNuxt } from 'nuxt/kit'
import { existsSync, promises as fsp } from 'fs'
import { $fetch } from 'ofetch'
import { join } from 'pathe'

Expand Down
1 change: 1 addition & 0 deletions src/pages/blog/[article].vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

<script lang="ts" setup>
import { appendHeader } from 'h3'
const nuxtApp = useNuxtApp()
const route = useRoute('blog-article')
const slug = route.params.article
Expand Down
1 change: 1 addition & 0 deletions src/server/utils/sponsors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { query } from './github'

interface Sponsor {
id: string
avatarUrl?: string
Expand Down

0 comments on commit 0b73fe9

Please sign in to comment.