Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jul 26, 2021
1 parent af3420c commit 0643c84
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
20 changes: 11 additions & 9 deletions src/blocks/Table/Cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,17 @@ class Cell extends Component {

render() {
return (
<SlateEditor
tabIndex={0}
onChange={this.onChange}
value={this.props.value}
selected={this.state.selected}
onFocus={this.handleContainerFocus}
onBlur={this.handleBlur}
onClick={this.handleContainerFocus}
/>
__CLIENT__ && (
<SlateEditor
tabIndex={0}
onChange={this.onChange}
value={this.props.value}
selected={this.state.selected}
onFocus={this.handleContainerFocus}
onBlur={this.handleBlur}
onClick={this.handleContainerFocus}
/>
)
);
}
}
Expand Down
7 changes: 1 addition & 6 deletions src/blocks/Table/__snapshots__/Cell.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders a cell component 1`] = `
<div
onFocus={[Function]}
tabIndex={0}
/>
`;
exports[`renders a cell component 1`] = `null`;

0 comments on commit 0643c84

Please sign in to comment.