File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export default function TableInterface({ url }: EditTableProps) {
148
148
return typeof p == "object" && p . length > 0 ? p : Object . keys ( data [ 0 ] )
149
149
} )
150
150
151
- // Apply tableupdates to the data
151
+ // Apply table updates to the data
152
152
data = applyTableUpdates ( data , tableUpdates )
153
153
154
154
if ( data . length == 0 ) {
@@ -162,7 +162,7 @@ export default function TableInterface({ url }: EditTableProps) {
162
162
163
163
// Set the table ref
164
164
ref . current = Array . from ( { length : data . length == 0 ? 1 : data . length } , ( ) =>
165
- Array . from ( { length : Object . keys ( data [ 0 ] ) . length == 0 ? 1 : Object . keys ( data [ 0 ] ) . length } , ( ) => null )
165
+ Array . from ( { length : data . length == 0 ? 1 : Object . keys ( data [ 0 ] ) . length } , ( ) => null )
166
166
) ;
167
167
168
168
return data
You can’t perform that action at this time.
0 commit comments