mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	change comment content
This commit is contained in:
		
							parent
							
								
									bf5ba30d5b
								
							
						
					
					
						commit
						39f1382f6d
					
				@ -5,7 +5,7 @@ function wrapAxiosInstance(instance) {
 | 
			
		||||
    (methodName) => {
 | 
			
		||||
      wrapper[methodName] = (...args) => {
 | 
			
		||||
        console.log(
 | 
			
		||||
          'Deprecation warning: Usage of "axiosInstance" utility is deprecated and will be removed in the next major release. Instead, use the useFetchClient() hook, which is exported from the helper-plugin: { useFetchClient } from "@strapi/helper-plugin"'
 | 
			
		||||
          'Deprecation warning: Usage of "axiosInstance" utility is deprecated and will be removed in the next major release. Instead, use the useFetchClient() hook, which is exported from the admin: { useFetchClient } from "@strapi/helper-plugin"'
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        return instance[methodName](...args);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user