Skip to content

Commit

Permalink
chore: fix bundle size (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc authored Sep 7, 2023
1 parent cf3bc99 commit d3b7abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NoticeList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const NoticeList: FC<NoticeListProps> = (props) => {
onAllRemoved={() => {
onAllNoticeRemoved(placement);
}}
onAppearPrepare={async (element) => {
onAppearPrepare={(element) => {
if (element.parentNode.lastElementChild === element) {
setLatestNotice(element as HTMLDivElement);
}
Expand Down

1 comment on commit d3b7abf

@vercel
Copy link

@vercel vercel bot commented on d3b7abf Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.