We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3347ca4 commit 4fee7b3Copy full SHA for 4fee7b3
web/src/components/Popup/index.tsx
@@ -239,6 +239,9 @@ const Popup: React.FC<PopupProps & IPopup> = ({
239
const closePopup = () => {
240
setIsOpen(false);
241
resetValue();
242
+ // dispute data is cleared, so if popup is closed the preview will show empty,
243
+ // instead redirect to start point.
244
+ if (popupType === PopupType.DISPUTE_CREATED) navigate("/resolver");
245
};
246
247
return (
0 commit comments