Skip to content

Commit

Permalink
fix: error state in create chart group
Browse files Browse the repository at this point in the history
  • Loading branch information
eshankvaish committed Feb 14, 2025
1 parent 14f0360 commit 2521c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/charts/modal/CreateChartGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default class CreateChartGroup extends Component<CreateChartGroupProps, C
autoFocus
onChange={this.handleNameChange}
required
error={this.state.name.error}
error={this.state.name.error?.length > 0 ? this.state.name.error : undefined}
/>
<Textarea
label="Description"
Expand Down

0 comments on commit 2521c18

Please sign in to comment.