Skip to content

Commit d3b7abf

Browse files
authored
chore: fix bundle size (#315)
1 parent cf3bc99 commit d3b7abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NoticeList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const NoticeList: FC<NoticeListProps> = (props) => {
8383
onAllRemoved={() => {
8484
onAllNoticeRemoved(placement);
8585
}}
86-
onAppearPrepare={async (element) => {
86+
onAppearPrepare={(element) => {
8787
if (element.parentNode.lastElementChild === element) {
8888
setLatestNotice(element as HTMLDivElement);
8989
}

0 commit comments

Comments
 (0)