mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix: missing state update
This commit is contained in:
parent
784d4778bc
commit
07d09f5494
@ -50,6 +50,10 @@ export class PagePanelWithNavMenu extends React.Component {
|
||||
const index = renders.findIndex((render) => render.id === id)
|
||||
|
||||
renders.splice(index, 1)
|
||||
|
||||
this.setState({
|
||||
renders: renders,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user