import { data } from "../commands/editor/main" ; import { on } from "../utils/events" ; const tabChangeListener = ( ) => on ( "TAB_CHANGE" , ( tab ) => { data . changeTab ( tab , true ) ; } ) ; export default tabChangeListener ;