mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 21:16:17 +02:00
use correct id for runtime images in useItemImageUrl
This commit is contained in:
@@ -13,6 +13,7 @@ import { toast } from '/@/shared/components/toast/toast';
|
||||
const queryCache = new QueryCache({
|
||||
onError: (error: any, query) => {
|
||||
if (query.state.data !== undefined) {
|
||||
console.error(error);
|
||||
toast.show({ message: `${error.message}`, type: 'error' });
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user