mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
feat(frontend): Replace ESLint with OXC hybrid linting architecture (#35506)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -854,8 +854,10 @@ class AnnotationLayer extends PureComponent {
|
||||
if (useAutomatic) {
|
||||
this.setState({ color: AUTOMATIC_COLOR });
|
||||
} else {
|
||||
// Set to first theme color or black as fallback
|
||||
this.setState({ color: colorScheme[0] || '#000000' });
|
||||
// Set to first theme color or dark color as fallback
|
||||
this.setState({
|
||||
color: colorScheme[0] || this.props.theme.colorTextBase,
|
||||
});
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user