mirror of
https://codeberg.org/demostf/inspector.git
synced 2026-06-03 10:04:09 +02:00
fix active highlight
This commit is contained in:
parent
75fe6573ba
commit
ba6380c558
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ export class App extends Component<{}, AppState> {
|
||||||
}, 500)
|
}, 500)
|
||||||
|
|
||||||
selectPacket = (packet: number) => {
|
selectPacket = (packet: number) => {
|
||||||
|
this.setState({activeIndex: packet});
|
||||||
this.state.worker.get(packet).then(packet => this.setState({active: packet}));
|
this.state.worker.get(packet).then(packet => this.setState({active: packet}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue