fix(pages): cast band fetch result

This commit is contained in:
parent 9f180a4d30
commit 517ecfdda8
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -6,7 +6,7 @@
const { data: bands } = (await useApiFetch<NonNullable<IBand[]>>(
"/bands/all",
)) as { data: Ref<IBand[]> };
)) as unknown as { data: Ref<IBand[]> };
const { data: rd }: { data: any } = useAuth();
const data = rd as { user: IUser };