From 0f3d5a86e447d7caa42bee03a6f6a2278a3c7821 Mon Sep 17 00:00:00 2001 From: kodaho <23268819+kodaho@users.noreply.github.com> Date: Mon, 8 Apr 2024 18:32:14 +0200 Subject: [PATCH] fix: Typo in regenerate function and button --- admin/src/pages/HomePage/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/src/pages/HomePage/index.js b/admin/src/pages/HomePage/index.js index f6f8d78..c6e51f3 100644 --- a/admin/src/pages/HomePage/index.js +++ b/admin/src/pages/HomePage/index.js @@ -55,14 +55,14 @@ const HomePage = () => { [] ); - const regenrate = async () => { + const regenerate = async () => { const { data } = await get(`/strapi-content-type-explorer/get-types`); setData(data); drawDiagram(); }; useEffectSkipInitial(() => { - regenrate(); + regenerate(); }, [options.showAdminTypes, options.showPluginTypes]); useEffect(() => { @@ -97,9 +97,9 @@ const HomePage = () => { } />