change(ui): summary ai toggle

This commit is contained in:
Shekar Siri 2024-07-24 16:50:00 +02:00
parent 1d150cdfa2
commit 10e5021cc1

View file

@ -169,10 +169,10 @@ interface DevtoolsButtonsProps {
bottomBlock: number;
}
function DevtoolsButtons({
const DevtoolsButtons = observer(({
toggleBottomTools,
bottomBlock,
}: DevtoolsButtonsProps) {
}: DevtoolsButtonsProps) => {
const { aiSummaryStore } = useStore();
const { store, player } = React.useContext(MobilePlayerContext);
@ -277,7 +277,7 @@ function DevtoolsButtons({
/>
</>
);
}
})
const ControlPlayer = observer(Controls);