Add tests, update changelog and minor fixes

This commit is contained in:
Arun Kumar 2021-03-20 01:07:49 +05:30
parent dcda7184d0
commit d565413082
7 changed files with 33 additions and 6 deletions

View file

@ -45,10 +45,6 @@ export class ProjectName extends Component<Props> {
public render() {
return this.props.isNameEditable ? (
<span className="TextInput" aria-label={this.props.label}>
{this.props.value}
</span>
) : (
<span
suppressContentEditableWarning
ref={this.makeEditable}
@ -62,6 +58,10 @@ export class ProjectName extends Component<Props> {
>
{this.props.value}
</span>
) : (
<span className="TextInput" aria-label={this.props.label}>
{this.props.value}
</span>
);
}
}