mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-30 03:38:36 +01:00
use h3 instead of trpc
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
const { $trpc } = useNuxtApp()
|
||||
const announce = await $trpc.announcement.get.query()
|
||||
const { data: announce } = await useFetch('/api/announcement')
|
||||
|
||||
const appConfig = useAppConfig()
|
||||
function getColor() {
|
||||
|
||||
Reference in New Issue
Block a user