Update bigbluebutton-html5/imports/ui/components/emoji-rain/component.jsx
This commit is contained in:
parent
20b4ffe7dd
commit
577ed647d9
@ -87,7 +87,6 @@ const EmojiRain = ({ reactions }) => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isAnimating) {
|
if (isAnimating) {
|
||||||
reactions.forEach((reaction) => {
|
reactions.forEach((reaction) => {
|
||||||
//if (Date() == reaction.creationDate && (reaction.reaction !== 'none')) {
|
|
||||||
const currentTime = new Date().getTime();
|
const currentTime = new Date().getTime();
|
||||||
const secondsSinceCreated = (currentTime - reaction.creationDate.getTime()) / 1000;
|
const secondsSinceCreated = (currentTime - reaction.creationDate.getTime()) / 1000;
|
||||||
if (secondsSinceCreated <= 1 && (reaction.reaction !== 'none')) {
|
if (secondsSinceCreated <= 1 && (reaction.reaction !== 'none')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user