mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add tests, update changelog and minor fixes
This commit is contained in:
parent
dcda7184d0
commit
d565413082
7 changed files with 33 additions and 6 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue