diff --git a/src/components/views/toasts/UnverifiedSessionToast.js b/src/components/views/toasts/UnverifiedSessionToast.js index cf982741a1..15cf18f47d 100644 --- a/src/components/views/toasts/UnverifiedSessionToast.js +++ b/src/components/views/toasts/UnverifiedSessionToast.js @@ -32,7 +32,8 @@ export default class UnverifiedSessionToast extends React.PureComponent { }; _onLaterClick = () => { - DeviceListener.sharedInstance().dismissVerification(this.props.deviceId); + const { device } = this.props; + DeviceListener.sharedInstance().dismissVerification(device.deviceId); }; _onReviewClick = async () => {