Skip to content

Commit fd8fba8

Browse files
author
Sachin Maheshwari
committed
#1296 - by async calling of Alert, resolving the issue for the time being but still need find the root cause.
1 parent 9d86333 commit fd8fba8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/reducers/alerts.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export default function(state = {}, action) {
3232
switch(action.type) {
3333
case CREATE_PROJECT_SUCCESS: {
3434
const name = _.truncate(action.payload.name, 20)
35-
Alert.success(`Project '${name}' created`)
35+
36+
//temporary workaround
37+
setTimeout(() => { Alert.success(`Project '${name}' created`) }, 0)
38+
3639
return state
3740
}
3841

0 commit comments

Comments
 (0)