diff --git a/frontend/src/components/BuySqueakDialog/BuySqueakDialog.js b/frontend/src/components/BuySqueakDialog/BuySqueakDialog.js
index 44027105..fe600b67 100644
--- a/frontend/src/components/BuySqueakDialog/BuySqueakDialog.js
+++ b/frontend/src/components/BuySqueakDialog/BuySqueakDialog.js
@@ -48,6 +48,7 @@ import {
export default function BuySqueakDialog({
open,
handleClose,
+ handlePaymentComplete,
hash,
...props
}) {
@@ -84,7 +85,8 @@ export default function BuySqueakDialog({
const handlePayResponse = (response) => {
// goToSqueakPage(offer.getSqueakHash());
- reloadRoute();
+ // reloadRoute();
+ handlePaymentComplete();
};
const handlePayErr = (err) => {
diff --git a/frontend/src/pages/squeak/Squeak.js b/frontend/src/pages/squeak/Squeak.js
index c8067e7b..46ee4dd8 100644
--- a/frontend/src/pages/squeak/Squeak.js
+++ b/frontend/src/pages/squeak/Squeak.js
@@ -5,6 +5,7 @@ import {
Grid,
Button,
Divider,
+ Snackbar,
Box,
} from "@material-ui/core";
@@ -15,6 +16,7 @@ import TimelineConnector from '@material-ui/lab/TimelineConnector';
import TimelineContent from '@material-ui/lab/TimelineContent';
import TimelineOppositeContent from '@material-ui/lab/TimelineOppositeContent';
import TimelineDot from '@material-ui/lab/TimelineDot';
+import MuiAlert from '@material-ui/lab/Alert';
import FaceIcon from '@material-ui/icons/Face';
@@ -42,6 +44,11 @@ import {
} from "../../squeakclient/requests"
+function Alert(props) {
+ return
=p&&f<=d}return c?vc({},t,{radius:i,angle:Tc(f,t)}):null};function wc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return(Rc="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nc(){return(Nc=Object.assign||function(e){for(var t=1;t=0}));if(g&&g.length){var v=g[0].props.barSize,b=g[0].props[h];a[b]||(a[b]=[]),a[b].push({item:g[0],stackList:g.slice(1),barSize:m()(v)?t:v})}}return a}({barSize:u,stackGroups:a}),E=[];return r.forEach((function(r,u){var g,S=n.constructor.getDisplayedData(e,{dataStartIndex:l,dataEndIndex:c},r),x=r.props,O=x.dataKey,T=x.maxBarSize,C=r.props["".concat(v,"Id")],w=r.props["".concat(b,"Id")],A=i.reduce((function(e,n){var a,i=t["".concat(n.axisType,"Map")],o=r.props["".concat(n.axisType,"Id")],s=i&&i[o];return dg({},e,(pg(a={},n.axisType,s),pg(a,"".concat(n.axisType,"Ticks"),tc(s)),a))}),{}),R=A[b],N=A["".concat(b,"Ticks")],M=a&&a[C]&&a[C].hasStack&&function(e,t){var n=e.props.stackId;if(I(n)){var r=t[n];if(r&&r.items.length){for(var a=-1,i=0,o=r.items.length;i