Skip to content

Commit

Permalink
Merge pull request #23 from dharamveergit/main
Browse files Browse the repository at this point in the history
fix: class in remote deploy
  • Loading branch information
dharamveergit authored Oct 10, 2024
2 parents cdf71a4 + e1003ef commit c0966c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const RemoteRepositoryDeployManager = ({

const envVarUpdater = useMemo(() => new EnvVarUpdater(services), [services]);

const { reLoginWithGithub, loginWithGithub } = new GitHubService();
const { reLoginWithGithub, loginWithGithub } = useMemo(() => new GitHubService(), []);

const { data: userProfile, isLoading: fetchingProfile } = useUserProfile();
const { mutate: fetchAccessToken, isLoading: fetchingToken } = useFetchAccessToken(navigateToNewDeployment);
Expand Down

0 comments on commit c0966c5

Please sign in to comment.