-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Got popup open for QBO authentication via nango
- Loading branch information
Showing
10 changed files
with
69 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
'use client' | ||
|
||
import {env} from '@usevenice/app-config/env' | ||
import {clientIntegrations} from '@usevenice/app-config/integrations/integrations.client' | ||
import {defIntegrations} from '@usevenice/app-config/integrations/integrations.def' | ||
import {VeniceConnect} from '@usevenice/engine-frontend' | ||
|
||
/** | ||
* Only reason this file exists is because we cannot pass clientIntegrations directly | ||
* from a server component because it contains function references (i.e. useConnectHook) | ||
*/ | ||
export default function ConnectPage() { | ||
return <VeniceConnect clientIntegrations={clientIntegrations} showExisting /> | ||
return ( | ||
<VeniceConnect | ||
clientIntegrations={clientIntegrations} | ||
defIntegrations={defIntegrations} | ||
showExisting | ||
nangoPublicKey={env.NEXT_PUBLIC_NANGO_PUBLIC_KEY} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.