Skip to content

Commit ddedd92

Browse files
zombieJclaude
andcommitted
refactor: rename list variable to oriList for clarity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c1289b3 commit ddedd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const Notifications = React.forwardRef<NotificationsRef, NotificationsProps>((pr
168168
motion={motion}
169169
stack={stack}
170170
onNoticeClose={(key) => {
171-
setConfigList((list) => list.filter((item) => item.key !== key));
171+
setConfigList((oriList) => oriList.filter((item) => item.key !== key));
172172
}}
173173
onAllRemoved={onAllNoticeRemoved}
174174
/>

0 commit comments

Comments
 (0)