From 1a889deeb99388d2f560262d41196b9dcd92eedc Mon Sep 17 00:00:00 2001 From: Boegie19 <34578426+Boegie19@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:52:17 +0100 Subject: [PATCH] fix wrong import (#2319) * fix wrong import * fix qoutes --- .../migration/v4-to-v5/additional-resources/helper-plugin.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus/docs/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin.md b/docusaurus/docs/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin.md index 92747f107f..d96c7ffe70 100644 --- a/docusaurus/docs/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin.md +++ b/docusaurus/docs/dev-docs/migration/v4-to-v5/additional-resources/helper-plugin.md @@ -995,7 +995,7 @@ If you feel like you need this util, please open an issue on the Strapi reposito ### request This util has been removed and not replaced. -You can use `useFetchClient` from `@strapi/admin/strapi-admin`. +You can use `useFetchClient` from `@strapi/strapi/admin`. ```tsx // Before @@ -1004,7 +1004,7 @@ import { request } from '@strapi/helper-plugin'; request(`/${pluginId}/settings/config`, { method: 'GET' }); // After -import { useFetchClient } from '@strapi/admin/strapi-admin'; +import { useFetchClient } from '@strapi/strapi/admin'; const { get } = useFetchClient(); get(`/${pluginId}/settings/config`);