correction du data fetching dans la page magasin
This commit is contained in:
		@@ -26,8 +26,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
        const { data: toilesData } = useFetch('/api/items/toiles', { server: true });
 | 
			
		||||
        const { data: printsData } = useFetch('/api/items/prints', { server: true });
 | 
			
		||||
 | 
			
		||||
        onBeforeMount(async () => {
 | 
			
		||||
        
 | 
			
		||||
        onMounted(async () => {
 | 
			
		||||
            if (toilesData.value) {
 | 
			
		||||
                toiles.value = toilesData.value.data;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user