Skip to content

Commit

Permalink
Merge pull request #1477 from ecency/bugfix/scrolling
Browse files Browse the repository at this point in the history
Fixed entry list item disappearing
  • Loading branch information
feruzm authored Oct 5, 2023
2 parents 1bbb353 + 8a26d55 commit 1c9b832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common/components/entry-list-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function EntryListItem({
[entry]
);

return isMounted() ? (
return (
<div
className={_c(`entry-list-item ${promoted ? "promoted-item" : ""} ${global.filter}`)}
id={(entry.author + entry.permlink).replace(/[0-9]/g, "")}
Expand Down Expand Up @@ -358,7 +358,7 @@ export function EntryListItem({
</div>
</div>
</div>
) : null;
);
}

export default EntryListItem;
4 changes: 2 additions & 2 deletions src/common/components/entry-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { Global } from "../../store/global/types";
import { Account } from "../../store/accounts/types";
import { DynamicProps } from "../../store/dynamic-props/types";
import { Entry } from "../../store/entries/types";
import { Community, Communities } from "../../store/communities/types";
import { Community } from "../../store/communities/types";
import { User } from "../../store/users/types";
import { ActiveUser } from "../../store/active-user/types";
import { Reblogs } from "../../store/reblogs/types";
import { UI, ToggleType } from "../../store/ui/types";
import { ToggleType, UI } from "../../store/ui/types";

import EntryListItem from "../entry-list-item/index";
import MessageNoData from "../message-no-data";
Expand Down

0 comments on commit 1c9b832

Please sign in to comment.