how to useselector state in another function code example
Example: useSelector
const result: any = useSelector(selector: Function, equalityFn?: Function)
Copy
const result: any = useSelector(selector: Function, equalityFn?: Function)
Copy