Skip to content

Commit

Permalink
adjust provider memo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarkowsky committed Sep 18, 2024
1 parent e6850c2 commit ddec7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-app/src/pages/AccessRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const RequestForm = ({ submitHandler }: { submitHandler: (d: any) => void }) =>

const provider = useMemo(
() => getProvider(keycloak.user?.preferred_username, lookup?.data?.Config.bcscIdentifier),
[keycloak.user],
[keycloak.user, lookup],
);

const formMethods = useForm({
Expand Down

0 comments on commit ddec7dd

Please sign in to comment.