File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -73,27 +73,6 @@ export function useTrail(
73
73
} )
74
74
} , deps )
75
75
76
- /**
77
- * Overwrite the start function so it runs our
78
- * specific trail-making way
79
- */
80
- ref [ 'start' ] = ( propsArg ?: object | ControllerUpdateFn ) => {
81
- const results : AsyncResult [ ] = [ ]
82
-
83
- each ( ref . current , ( ctrl , i ) => {
84
- const props = is . fun ( propsArg ) ? propsArg ( i , ctrl ) : propsArg
85
-
86
- const parent = ref . current [ i + ( reverse ? 1 : - 1 ) ]
87
- if ( parent ) {
88
- results . push ( ctrl . start ( { ...props , to : parent . springs } ) )
89
- } else {
90
- results . push ( ctrl . start ( { ...props } ) )
91
- }
92
- } )
93
-
94
- return results
95
- }
96
-
97
76
if ( propsFn || arguments . length == 3 ) {
98
77
ref [ '_getProps' ] = ( propsArg , ctrl , i ) => {
99
78
const props = is . fun ( propsArg ) ? propsArg ( i , ctrl ) : propsArg
You can’t perform that action at this time.
0 commit comments