Skip to content

Commit

Permalink
fix: undefined error when adding extra sequential color scheme (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored and shcoderAlex committed Feb 7, 2022
1 parent 29fdda3 commit 54016e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions superset-frontend/src/setup/setupColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ export default function setupColors(
registerColorSchemes(
// @ts-ignore
getSequentialSchemeRegistry(),
[
...SequentialCommon,
...SequentialD3,
...extraSequentialColorSchemes.map(s => new SequentialScheme(s)),
],
[...SequentialCommon, ...SequentialD3, ...extraSequentialColorSchemes],
'superset_seq_1',
);
}

0 comments on commit 54016e9

Please sign in to comment.