forked from 77media/video-flow
更新 修复类型
This commit is contained in:
parent
786c6e6a81
commit
1056e5fc8e
@ -151,7 +151,7 @@ export default function SharePage(): JSX.Element {
|
|||||||
|
|
||||||
|
|
||||||
const toggleRow = React.useCallback((id: string) => {
|
const toggleRow = React.useCallback((id: string) => {
|
||||||
setExpandedRowIds((prev: any) => {
|
setExpandedRowIds((prev: Set<string>) => {
|
||||||
const next = new Set(prev);
|
const next = new Set(prev);
|
||||||
if (next.has(id)) {
|
if (next.has(id)) {
|
||||||
next.delete(id);
|
next.delete(id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user