File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/connect-react/examples/nextjs/src/app Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ import {
88import { fetchToken } from "./actions" ;
99
1010export default function Home ( ) {
11- // const userId = "demo-32aaf9cd-5df0-4ffe-86b5-db43a61a842c"; //gmail-new-email-received
12- const userId = "demo-937d4e64-100a-4e32-9dbb-a73c279e91b3" ; // goole_sheets add new row
11+ const userId = "my-authed-user-id" ;
1312 const client = createFrontendClient ( {
14- environment : "development" ,
1513 externalUserId : userId ,
1614 tokenCallback : fetchToken ,
1715 } ) ;
@@ -42,7 +40,7 @@ export default function Home() {
4240 < FrontendClientProvider client = { client } >
4341 < ComponentFormContainer
4442 userId = { userId }
45- componentKey = "google_sheets-add-single-row "
43+ componentKey = "slack-send-message "
4644 configuredProps = { configuredProps }
4745 onUpdateDynamicProps = { handleDynamicProps }
4846 onUpdateConfiguredProps = { setConfiguredProps }
@@ -52,7 +50,7 @@ export default function Home() {
5250 try {
5351 const result = await client . runAction ( {
5452 userId,
55- actionId : "google_sheets-add-single-row " ,
53+ actionId : "slack-send-message " ,
5654 configuredProps,
5755 dynamicPropsId,
5856 } ) ;
You can’t perform that action at this time.
0 commit comments