Skip to content

Commit 786399c

Browse files
Update key to innerkey in toaster
1 parent 8fefa69 commit 786399c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/coreui-react/src/components/toast/CToaster.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const CToaster = forwardRef<HTMLDivElement, CToasterProps>(
4545
...state,
4646
React.cloneElement(push, {
4747
index: index.current,
48-
key: index.current,
48+
innerKey: index.current,
4949
onClose: (index: number) =>
5050
setToasts((state) => state.filter((i) => i.props.index !== index)),
5151
}),

0 commit comments

Comments
 (0)