Skip to content

Commit 821e103

Browse files
authored
Merge pull request #4240 from JoinColony/feat/4232-proxy-colonies-pending-button
[Proxy Colonies] Fix: Pending Button gets stuck on createProxy action
2 parents 72da835 + bc5bc6c commit 821e103

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/redux/sagas/proxyColonies/createProxyColony.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ function* createProxyColony({
105105
gasLimit: BigInt(10_000_000),
106106
});
107107

108-
put(transactionSent(metaId));
108+
yield put(transactionSent(metaId));
109109

110110
if (!transaction || !transaction.blockHash || !transaction.blockNumber) {
111111
throw new Error('Invalid transaction'); // @TODO add more info
112112
}
113113

114-
put(
114+
yield put(
115115
transactionHashReceived(metaId, {
116116
hash: transaction.hash,
117117
blockNumber: transaction.blockNumber,
@@ -124,8 +124,8 @@ function* createProxyColony({
124124

125125
const [eventData, receipt] = yield waitForMined();
126126

127-
put(transactionReceiptReceived(metaId, { params, receipt }));
128-
put(transactionSucceeded(metaId, { eventData, receipt, params }));
127+
yield put(transactionReceiptReceived(metaId, { params, receipt }));
128+
yield put(transactionSucceeded(metaId, { eventData, receipt, params }));
129129

130130
if (annotationMessage) {
131131
yield takeFrom(

0 commit comments

Comments
 (0)