()
| 27 | } = activeSlice.actions |
| 28 | |
| 29 | export const useActiveSelector = () => { |
| 30 | const selector = useSelector.withTypes<StoreState>() |
| 31 | return { |
| 32 | hover: selector((state) => state.active.hover), |
| 33 | videoDrag: selector((state) => state.active.videoDrag), |
| 34 | fxDialogActive: selector((state) => state.active.fxDialogActive) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | export const useActiveActions = () => { |
| 39 | const dispatch = useDispatch.withTypes<StoreDispatch>()() |
no outgoing calls
no test coverage detected