ConnectButton now works with services

This commit is contained in:
Matt Aitken
2022-12-30 15:15:10 +00:00
parent 3a4d245f37
commit 4e4299a748
@@ -160,6 +160,7 @@ export function useCreateConnection(sourceId?: string, serviceId?: string) {
connectionId: createConnectionFetcher.data.connectionId,
service: createConnectionFetcher.data.integrationKey,
sourceId,
serviceId,
});
}, [
completeConnectionFetcher,
@@ -167,6 +168,7 @@ export function useCreateConnection(sourceId?: string, serviceId?: string) {
completeConnectionFetcher.submit,
completeFlow,
createConnectionFetcher,
serviceId,
sourceId,
]);