Skip to content

Commit 9ee9703

Browse files
committed
cleanup
1 parent c2d5a59 commit 9ee9703

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

packages/compass-crud/src/components/document-list-view.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export type DocumentListViewProps = {
3535
| 'replaceDocument'
3636
| 'updateDocument'
3737
| 'openInsertDocumentDialog'
38-
| 'openErrorDetailsDialog'
3938
>;
4039

4140
/**
@@ -67,7 +66,6 @@ class DocumentListView extends React.Component<DocumentListViewProps> {
6766
replaceDocument={this.props.replaceDocument}
6867
updateDocument={this.props.updateDocument}
6968
openInsertDocumentDialog={this.props.openInsertDocumentDialog}
70-
openErrorDetailsDialog={this.props.openErrorDetailsDialog}
7169
/>
7270
</KeylineCard>
7371
</li>

packages/compass-crud/src/components/document.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Document.propTypes = {
5757
replaceDocument: PropTypes.func,
5858
updateDocument: PropTypes.func,
5959
openInsertDocumentDialog: PropTypes.func,
60-
openErrorDetailsDialog: PropTypes.func,
6160
copyToClipboard: PropTypes.func,
6261
isExpanded: PropTypes.bool,
6362
};

packages/compass-crud/src/components/editable-document.spec.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ describe('<EditableDocument />', function () {
2222
updateDocument={sinon.spy(action)}
2323
copyToClipboard={sinon.spy(action)}
2424
openInsertDocumentDialog={sinon.spy(action)}
25-
openErrorDetailsDialog={sinon.spy(action)}
2625
/>
2726
);
2827
});

packages/compass-crud/src/components/editable-document.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export type EditableDocumentProps = {
1919
replaceDocument?: CrudActions['replaceDocument'];
2020
updateDocument?: CrudActions['updateDocument'];
2121
openInsertDocumentDialog?: CrudActions['openInsertDocumentDialog'];
22-
openErrorDetailsDialog?: CrudActions['openErrorDetailsDialog'];
2322
copyToClipboard?: CrudActions['copyToClipboard'];
2423
showInsights?: boolean;
2524
};
@@ -279,12 +278,6 @@ class EditableDocument extends React.Component<
279278
onCancel={() => {
280279
this.handleCancel();
281280
}}
282-
// onOpenErrorDetails{() => {
283-
// this.props.openErrorDetailsDialog?.({
284-
// details: '// TODO erro details',
285-
// closeAction: 'close',
286-
// })
287-
// }}
288281
/>
289282
);
290283
}

0 commit comments

Comments
 (0)