Control use diagnostics
Summary: Current control diagnostics: - Play/Pause - Search - Framework Event Monitoring - Toggle more options Reviewed By: LukeDefeo Differential Revision: D44292835 fbshipit-source-id: c1ef6181141ef47262de8e75abeeb88ffebd4bd6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
784401ae0b
commit
8d83fa2185
@@ -27,7 +27,6 @@ import {
|
||||
} from './types';
|
||||
import {Draft} from 'immer';
|
||||
import {QueryClient, setLogger} from 'react-query';
|
||||
import {tracker} from './tracker';
|
||||
|
||||
type SnapshotInfo = {nodeId: Id; base64Image: Snapshot};
|
||||
type LiveClientState = {
|
||||
@@ -157,7 +156,6 @@ export function plugin(client: PluginClient<Events>) {
|
||||
});
|
||||
|
||||
const setPlayPause = (isPaused: boolean) => {
|
||||
tracker.track('play-pause', {paused: isPaused});
|
||||
uiState.isPaused.set(isPaused);
|
||||
if (!isPaused) {
|
||||
//When going back to play mode then set the atoms to the live state to rerender the latest
|
||||
|
||||
Reference in New Issue
Block a user