Skip to content

Commit 29c9f6f

Browse files
committed
[#288 fixes] Warning: Unknown event handler property onCardMoveAcrossLanes
1 parent a07323e commit 29c9f6f

2 files changed

Lines changed: 1 addition & 34 deletions

File tree

src/controllers/BoardContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ class BoardContainer extends Component {
125125
editable,
126126
canAddLanes,
127127
laneStyle,
128+
onCardMoveAcrossLanes,
128129
t,
129130
...otherProps
130131
} = this.props

tests/__snapshots__/Storyshots.test.js.snap

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ exports[`Storyshots Advanced Features Async Load data 1`] = `
2525
}
2626
}
2727
draggable={false}
28-
onCardMoveAcrossLanes={[Function]}
2928
>
3029
<div
3130
onClick={[Function]}
@@ -452,7 +451,6 @@ exports[`Storyshots Advanced Features Collapsible Lanes 1`] = `
452451
}
453452
}
454453
draggable={false}
455-
onCardMoveAcrossLanes={[Function]}
456454
>
457455
<div
458456
onClick={[Function]}
@@ -2037,7 +2035,6 @@ exports[`Storyshots Advanced Features Event Handling 1`] = `
20372035
}
20382036
}
20392037
draggable={false}
2040-
onCardMoveAcrossLanes={[Function]}
20412038
>
20422039
<div
20432040
onClick={[Function]}
@@ -3280,7 +3277,6 @@ exports[`Storyshots Advanced Features Realtime Events 1`] = `
32803277
}
32813278
}
32823279
draggable={false}
3283-
onCardMoveAcrossLanes={[Function]}
32843280
>
32853281
<div
32863282
onClick={[Function]}
@@ -4419,7 +4415,6 @@ exports[`Storyshots Advanced Features Scrolling and Events 1`] = `
44194415
}
44204416
}
44214417
draggable={false}
4422-
onCardMoveAcrossLanes={[Function]}
44234418
>
44244419
<div
44254420
onClick={[Function]}
@@ -5942,7 +5937,6 @@ exports[`Storyshots Basic Functions Full Board example 1`] = `
59425937
}
59435938
}
59445939
draggable={false}
5945-
onCardMoveAcrossLanes={[Function]}
59465940
>
59475941
<div
59485942
onClick={[Function]}
@@ -7419,7 +7413,6 @@ exports[`Storyshots Basic Functions Infinite Scrolling 1`] = `
74197413
}
74207414
}
74217415
draggable={false}
7422-
onCardMoveAcrossLanes={[Function]}
74237416
>
74247417
<div
74257418
onClick={[Function]}
@@ -8796,7 +8789,6 @@ exports[`Storyshots Basic Functions Reverse Sorted Lane 1`] = `
87968789
}
87978790
}
87988791
draggable={false}
8799-
onCardMoveAcrossLanes={[Function]}
88008792
>
88018793
<div
88028794
onClick={[Function]}
@@ -9459,7 +9451,6 @@ exports[`Storyshots Basic Functions Sorted Lane 1`] = `
94599451
}
94609452
}
94619453
draggable={false}
9462-
onCardMoveAcrossLanes={[Function]}
94639454
>
94649455
<div
94659456
onClick={[Function]}
@@ -10122,7 +10113,6 @@ exports[`Storyshots Basic Functions Tags 1`] = `
1012210113
}
1012310114
}
1012410115
draggable={false}
10125-
onCardMoveAcrossLanes={[Function]}
1012610116
>
1012710117
<div
1012810118
onClick={[Function]}
@@ -11091,7 +11081,6 @@ exports[`Storyshots Custom Components AddCardLink 1`] = `
1109111081
}
1109211082
}
1109311083
draggable={false}
11094-
onCardMoveAcrossLanes={[Function]}
1109511084
>
1109611085
<div
1109711086
onClick={[Function]}
@@ -12641,7 +12630,6 @@ exports[`Storyshots Custom Components Card 1`] = `
1264112630
}
1264212631
}
1264312632
draggable={false}
12644-
onCardMoveAcrossLanes={[Function]}
1264512633
>
1264612634
<div
1264712635
onClick={[Function]}
@@ -13815,7 +13803,6 @@ exports[`Storyshots Custom Components Drag-n-Drop Styling 1`] = `
1381513803
}
1381613804
}
1381713805
draggable={false}
13818-
onCardMoveAcrossLanes={[Function]}
1381913806
>
1382013807
<div
1382113808
onClick={[Function]}
@@ -14484,7 +14471,6 @@ exports[`Storyshots Custom Components LaneFooter 1`] = `
1448414471
}
1448514472
}
1448614473
draggable={false}
14487-
onCardMoveAcrossLanes={[Function]}
1448814474
>
1448914475
<div
1449014476
onClick={[Function]}
@@ -15982,7 +15968,6 @@ exports[`Storyshots Custom Components LaneHeader 1`] = `
1598215968
}
1598315969
}
1598415970
draggable={false}
15985-
onCardMoveAcrossLanes={[Function]}
1598615971
>
1598715972
<div
1598815973
onClick={[Function]}
@@ -16963,7 +16948,6 @@ exports[`Storyshots Custom Components NewCardForm 1`] = `
1696316948
}
1696416949
}
1696516950
draggable={false}
16966-
onCardMoveAcrossLanes={[Function]}
1696716951
>
1696816952
<div
1696916953
onClick={[Function]}
@@ -18493,7 +18477,6 @@ exports[`Storyshots Custom Components NewLaneForm 1`] = `
1849318477
}
1849418478
}
1849518479
draggable={false}
18496-
onCardMoveAcrossLanes={[Function]}
1849718480
>
1849818481
<div
1849918482
onClick={[Function]}
@@ -19252,7 +19235,6 @@ exports[`Storyshots Custom Components NewLaneSection 1`] = `
1925219235
}
1925319236
}
1925419237
draggable={false}
19255-
onCardMoveAcrossLanes={[Function]}
1925619238
>
1925719239
<div
1925819240
onClick={[Function]}
@@ -20119,7 +20101,6 @@ exports[`Storyshots Deprecation warnings v2.2 warnings 1`] = `
2011920101
}
2012020102
}
2012120103
draggable={false}
20122-
onCardMoveAcrossLanes={[Function]}
2012320104
>
2012420105
<div
2012520106
onClick={[Function]}
@@ -21898,7 +21879,6 @@ exports[`Storyshots Drag-n-Drop Basic 1`] = `
2189821879
}
2189921880
}
2190021881
draggable={false}
21901-
onCardMoveAcrossLanes={[Function]}
2190221882
>
2190321883
<div
2190421884
onClick={[Function]}
@@ -23582,7 +23562,6 @@ exports[`Storyshots Drag-n-Drop Drag Cards not Lanes 1`] = `
2358223562
}
2358323563
}
2358423564
draggable={false}
23585-
onCardMoveAcrossLanes={[Function]}
2358623565
>
2358723566
<div
2358823567
onClick={[Function]}
@@ -24707,7 +24686,6 @@ exports[`Storyshots Drag-n-Drop Drag Styling 1`] = `
2470724686
}
2470824687
}
2470924688
draggable={false}
24710-
onCardMoveAcrossLanes={[Function]}
2471124689
>
2471224690
<div
2471324691
onClick={[Function]}
@@ -26277,7 +26255,6 @@ exports[`Storyshots Drag-n-Drop Restrict lanes 1`] = `
2627726255
}
2627826256
}
2627926257
draggable={false}
26280-
onCardMoveAcrossLanes={[Function]}
2628126258
>
2628226259
<div
2628326260
onClick={[Function]}
@@ -27275,7 +27252,6 @@ exports[`Storyshots Editable Board Add New Lane 1`] = `
2727527252
}
2727627253
}
2727727254
draggable={false}
27278-
onCardMoveAcrossLanes={[Function]}
2727927255
>
2728027256
<div
2728127257
onClick={[Function]}
@@ -28144,7 +28120,6 @@ exports[`Storyshots Editable Board Add/Delete Cards 1`] = `
2814428120
}
2814528121
}
2814628122
draggable={false}
28147-
onCardMoveAcrossLanes={[Function]}
2814828123
>
2814928124
<div
2815028125
onClick={[Function]}
@@ -29956,7 +29931,6 @@ exports[`Storyshots Editable Board Disallow Adding Card for specific Lane 1`] =
2995629931
}
2995729932
}
2995829933
draggable={false}
29959-
onCardMoveAcrossLanes={[Function]}
2996029934
>
2996129935
<div
2996229936
onClick={[Function]}
@@ -31438,7 +31412,6 @@ exports[`Storyshots Editable Board Inline Edit Lane Title 1`] = `
3143831412
}
3143931413
}
3144031414
draggable={false}
31441-
onCardMoveAcrossLanes={[Function]}
3144231415
>
3144331416
<div
3144431417
onClick={[Function]}
@@ -32248,7 +32221,6 @@ exports[`Storyshots I18n Custom texts 1`] = `
3224832221
}
3224932222
}
3225032223
draggable={false}
32251-
onCardMoveAcrossLanes={[Function]}
3225232224
>
3225332225
<div
3225432226
onClick={[Function]}
@@ -34626,7 +34598,6 @@ exports[`Storyshots I18n Using i18next 1`] = `
3462634598
}
3462734599
}
3462834600
draggable={false}
34629-
onCardMoveAcrossLanes={[Function]}
3463034601
>
3463134602
<div
3463234603
onClick={[Function]}
@@ -36897,7 +36868,6 @@ exports[`Storyshots Multiple Boards Two Boards 1`] = `
3689736868
}
3689836869
}
3689936870
draggable={false}
36900-
onCardMoveAcrossLanes={[Function]}
3690136871
>
3690236872
<div
3690336873
onClick={[Function]}
@@ -37775,7 +37745,6 @@ exports[`Storyshots Multiple Boards Two Boards 1`] = `
3777537745
}
3777637746
}
3777737747
draggable={false}
37778-
onCardMoveAcrossLanes={[Function]}
3777937748
>
3778037749
<div
3778137750
onClick={[Function]}
@@ -39751,7 +39720,6 @@ exports[`Storyshots Styling Board Styling 1`] = `
3975139720
}
3975239721
}
3975339722
draggable={false}
39754-
onCardMoveAcrossLanes={[Function]}
3975539723
style={
3975639724
Object {
3975739725
"fontFamily": "Verdana",
@@ -41267,7 +41235,6 @@ exports[`Storyshots Styling Card Styling 1`] = `
4126741235
}
4126841236
}
4126941237
draggable={false}
41270-
onCardMoveAcrossLanes={[Function]}
4127141238
>
4127241239
<div
4127341240
onClick={[Function]}
@@ -41938,7 +41905,6 @@ exports[`Storyshots Styling Lane Styling 1`] = `
4193841905
}
4193941906
}
4194041907
draggable={false}
41941-
onCardMoveAcrossLanes={[Function]}
4194241908
style={
4194341909
Object {
4194441910
"backgroundColor": "#eee",

0 commit comments

Comments
 (0)