Skip to content

Commit

Permalink
make sure changes in time are visible when rerendering of timeline ha…
Browse files Browse the repository at this point in the history
…ppens

removed clg
  • Loading branch information
Ducica committed Nov 21, 2024
1 parent 41a9870 commit 5b7fe9a
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { memo } from "react";
import React from "react";
import { i18next } from "@translations/oarepo_requests_ui/i18next";
import { Feed, Image } from "semantic-ui-react";
import _has from "lodash/has";
Expand Down Expand Up @@ -47,7 +47,4 @@ const TimelineCommentEvent = ({ event }) => {
TimelineCommentEvent.propTypes = {
event: PropTypes.object.isRequired,
};
export default memo(
TimelineCommentEvent,
(prevProps, nextProps) => prevProps.event.updated === nextProps.event.updated
);
export default TimelineCommentEvent;

0 comments on commit 5b7fe9a

Please sign in to comment.