fix(striker-ui): correct onSet calls in MessageGroup

main
Tsu-ba-me 2 years ago
parent 9fcae7fcd8
commit 6d199a53e1
  1. 8
      striker-ui/components/MessageGroup.tsx

@ -67,10 +67,10 @@ const MessageGroup = forwardRef<
length = Object.keys(result).length;
onSet?.call(null, length);
return result;
});
onSet?.call(null, length);
},
[onSet],
);
@ -97,10 +97,10 @@ const MessageGroup = forwardRef<
}
});
onSet?.call(null, length);
return result;
});
onSet?.call(null, length);
},
[onSet],
);

Loading…
Cancel
Save