diff --git a/superset-frontend/plugins/plugin-chart-word-cloud/src/chart/WordCloud.tsx b/superset-frontend/plugins/plugin-chart-word-cloud/src/chart/WordCloud.tsx index 5d8ae0105e1af..05ed67dfab730 100644 --- a/superset-frontend/plugins/plugin-chart-word-cloud/src/chart/WordCloud.tsx +++ b/superset-frontend/plugins/plugin-chart-word-cloud/src/chart/WordCloud.tsx @@ -28,10 +28,11 @@ import { import { SupersetThemeProps, withTheme, - seedRandom, + seed, CategoricalColorScale, } from '@superset-ui/core'; +const seedRandom = seed('superset-ui'); export const ROTATION = { flat: () => 0, // this calculates a random rotation between -90 and 90 degrees.