fix(pages): cast band fetch result
This commit is contained in:
		
							parent
							
								
									9f180a4d30
								
							
						
					
					
						commit
						517ecfdda8
					
				| @ -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 }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user