mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-08 10:44:33 +00:00
ensure new vote get displayed before closing add poll
menu is now an easter egg
This commit is contained in:
parent
25229dbd27
commit
c4e09a2282
@ -104,9 +104,9 @@ const AddPoll = withFormik({
|
||||
})
|
||||
.then(res => {
|
||||
console.log('sucess:', res);
|
||||
props.getPolls();
|
||||
setSubmitting(false);
|
||||
props.togglePoll();
|
||||
props.getPolls();
|
||||
})
|
||||
.catch(res => {
|
||||
console.log('fail:', res);
|
||||
|
@ -33,9 +33,7 @@ function ButtonAppBar(props) {
|
||||
<div className={classes.root} >
|
||||
<AppBar position="static">
|
||||
<Toolbar>
|
||||
<IconButton className={classes.menuButton} color="inherit" aria-label="Menu">
|
||||
<MenuIcon onClick={toggleAdmin} />
|
||||
</IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" aria-label="Menu" onClick={toggleAdmin} />
|
||||
<Typography variant="display1" color="inherit" className={classes.flex}>
|
||||
What should we build next?
|
||||
</Typography>
|
||||
|
Loading…
x
Reference in New Issue
Block a user