Skip to content

Commit

Permalink
fix: error prop expecting boolean, not string - refs #253293
Browse files Browse the repository at this point in the history
  • Loading branch information
tedw87 committed Jul 26, 2023
1 parent e22b2b0 commit e9722e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NextCloud/NextCloudVideoEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Edit extends Component {
onFocus={(e) => {
this.props.onSelectBlock(this.props.id);
}}
error={this.state.url && !this.state.valid}
error={!!this.state.url && !this.state.valid}
/>
{this.state.url && (
<Button.Group>
Expand Down

0 comments on commit e9722e5

Please sign in to comment.