MCPcopy Create free account
hub / github.com/Moebytes/Frame-Player / useActiveSelector

Function useActiveSelector

reducers/activeReducer.ts:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27} = activeSlice.actions
28
29export 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
38export const useActiveActions = () => {
39 const dispatch = useDispatch.withTypes<StoreDispatch>()()

Callers 5

LocalStorageFunction · 0.85
AppFunction · 0.85
TitleBarFunction · 0.85
FXDialogFunction · 0.85
VideoPlayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected