mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 06:24:25 +01:00
update
This commit is contained in:
@@ -74,7 +74,7 @@ const getProfile = ({
|
||||
return timeout(15000, `useProfile: ${pubkey}`)(promise);
|
||||
};
|
||||
|
||||
export const useProfile = (propsProvider: () => UseProfileProps | null): UseProfile => {
|
||||
const useProfile = (propsProvider: () => UseProfileProps | null): UseProfile => {
|
||||
const queryClient = useQueryClient();
|
||||
const props = createMemo(propsProvider);
|
||||
const genQueryKey = createMemo((): UseProfileQueryKey => ['useProfile', props()] as const);
|
||||
|
||||
Reference in New Issue
Block a user