Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit cf5c727

Browse files
authored
Remove duplicate code in dimension locking example (#1637)
Remove duplicate code in dimension locking example
2 parents 72a24eb + 29fdadc commit cf5c727

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

stories/src/table/with-dimension-locking.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,7 @@ export default class TableApp extends Component<AppProps, AppState> {
191191
});
192192

193193
// dropped outside the list
194-
if (
195-
!result.destination ||
196-
result.destination.index === result.source.index
197-
) {
194+
if (!result.destination) {
198195
return;
199196
}
200197

0 commit comments

Comments
 (0)