You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2021/07/27 00:43:16 UTC

[superset] 04/06: fix bad hook dependency

This is an automated email from the ASF dual-hosted git repository.

suddjian pushed a commit to branch all-charts-category-alone
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 513b9b860b9c0f90cca22d3846c005d3f7899138
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Mon Jul 26 17:06:34 2021 -0700

    fix bad hook dependency
---
 .../src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
index e402231..fd64af2 100644
--- a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
+++ b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
@@ -504,7 +504,7 @@ export default function VizTypeGallery(props: VizTypeGalleryProps) {
           a.localeCompare(b),
         )
         .filter(tag => RECOMMENDED_TAGS.indexOf(tag) === -1),
-    [chartsByCategory],
+    [chartsByTags],
   );
 
   const sortedMetadata = useMemo(