Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui helper removed #2821

Merged
merged 20 commits into from
Nov 19, 2024
Merged

Gui helper removed #2821

merged 20 commits into from
Nov 19, 2024

Conversation

GermanBluefox
Copy link
Contributor

No description provided.

@@ -25,58 +25,37 @@

class ConfigStaticHeader extends ConfigGeneric<ConfigInstanceSelectProps, ConfigGenericState> {
renderItem(/* error: string, disabled: boolean, defaultValue */): JSX.Element {
let component: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' = 'h5';

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

The initial value of component is unused, since it is always overwritten.
<div style={valStyle}>
{this.props.schema.data.map((it, i) => (
<div key={i}>
{typeof it === 'object' || it === null || it === undefined

Check warning

Code scanning / CodeQL

Comparison between inconvertible types Warning

Variable 'it' cannot be of type null, but it is compared to
an expression
of type null.
@GermanBluefox GermanBluefox merged commit 0da92e8 into master Nov 19, 2024
15 checks passed
@GermanBluefox GermanBluefox deleted the remove-gui-helper branch November 19, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant