change comment content

This commit is contained in:
Simone Taeggi 2022-11-22 19:57:17 +01:00
parent bf5ba30d5b
commit 39f1382f6d

View File

@ -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);