Filtering via FilterBar.
This commit is contained in:
1 parent
da173779e0
commit
0a43ef7b1b
9 files changed
+83
-26
No files matched your search
@@ -3,10 +3,7 @@ import { useApi } from '../useApi';
|
||||
|
||||
const selector = (state: { user: any }) => state.user;
|
||||
|
||||
export function useLoginQuery(): {
|
||||
user: any;
|
||||
setUser: (data: any) => void;
|
||||
} {
|
||||
export function useLoginQuery() {
|
||||
const { post, useQuery } = useApi();
|
||||
const user = useApp(selector);
|
||||
|
||||
|
||||
Reference in new issue
Block a user