mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(deps): bump typescript to 4.8.4 (#24272)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
This commit is contained in:
@@ -158,6 +158,7 @@ class WordCloud extends React.PureComponent<
|
||||
update() {
|
||||
const { data, encoding } = this.props;
|
||||
|
||||
// @ts-ignore
|
||||
const encoder = this.createEncoder(encoding);
|
||||
encoder.setDomainFromDataset(data);
|
||||
|
||||
@@ -221,6 +222,7 @@ class WordCloud extends React.PureComponent<
|
||||
const { width, height, encoding, sliceId } = this.props;
|
||||
const { words } = this.state;
|
||||
|
||||
// @ts-ignore
|
||||
const encoder = this.createEncoder(encoding);
|
||||
encoder.channels.color.setDomainFromDataset(words);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user