mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 13:30:06 +02:00
Add tests, update changelog and minor fixes
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user