Skip to content

Commit 3d8a8d0

Browse files
committed
Update ScriptList.tsx
1 parent 1f07ad5 commit 3d8a8d0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/pages/options/routes/ScriptList.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -722,12 +722,14 @@ function ScriptList() {
722722
return SortableRow;
723723
}, [dealColumns]);
724724

725-
setComponents({
726-
table: SortableWrapper,
727-
body: {
728-
// tbody: SortableWrapper,
729-
row: SortableRow,
730-
},
725+
useEffect(() => {
726+
setComponents({
727+
table: SortableWrapper,
728+
body: {
729+
// tbody: SortableWrapper,
730+
row: SortableRow,
731+
},
732+
});
731733
});
732734

733735
return (

0 commit comments

Comments
 (0)