Skip to content

Commit 7d86b59

Browse files
committed
Rename showToast arguments
1 parent bfc8390 commit 7d86b59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

react/components/Toast/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ class ToastProvider extends Component {
1414
this.toastManager = React.createRef()
1515
}
1616

17-
showToast = message => {
17+
showToast = args => {
1818
this.toastManager &&
1919
this.toastManager.current &&
2020
this.toastManager.current.showToast &&
21-
this.toastManager.current.showToast(message)
21+
this.toastManager.current.showToast(args)
2222
}
2323

2424
hideToast = () => {

0 commit comments

Comments
 (0)