fix(ui): add observer to devtools buttons
This commit is contained in:
parent
8ca58f764c
commit
fc85e4e77c
1 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ interface IDevtoolsButtons {
|
|||
messagesLoading: boolean;
|
||||
}
|
||||
|
||||
function DevtoolsButtons({ showStorageRedux, toggleBottomTools, bottomBlock, disabledRedux, messagesLoading, markedTargets }: IDevtoolsButtons) {
|
||||
const DevtoolsButtons = observer(({ showStorageRedux, toggleBottomTools, bottomBlock, disabledRedux, messagesLoading, markedTargets }: IDevtoolsButtons) => {
|
||||
const { store } = React.useContext(PlayerContext);
|
||||
|
||||
const {
|
||||
|
|
@ -308,7 +308,7 @@ function DevtoolsButtons({ showStorageRedux, toggleBottomTools, bottomBlock, dis
|
|||
)}
|
||||
</>
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
const ControlPlayer = observer(Controls);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue