Introduce ComponentState (#4386)
* Proof of concept ComponentState * Migrate to createState and createFamilyState * Refactor * Fix * Fix tests * Fix lint * Fix tests * Re-enable coverage
This commit is contained in:
@ -14,8 +14,8 @@ export const ImpersonateEffect = () => {
|
||||
const navigate = useNavigate();
|
||||
const { userId } = useParams();
|
||||
|
||||
const [currentUser, setCurrentUser] = useRecoilState(currentUserState);
|
||||
const setTokenPair = useSetRecoilState(tokenPairState);
|
||||
const [currentUser, setCurrentUser] = useRecoilState(currentUserState());
|
||||
const setTokenPair = useSetRecoilState(tokenPairState());
|
||||
|
||||
const [impersonate] = useImpersonateMutation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user