File tree Expand file tree Collapse file tree 4 files changed +8
-309
lines changed Expand file tree Collapse file tree 4 files changed +8
-309
lines changed Original file line number Diff line number Diff line change 1
1
"use client" ;
2
- import { FrigadeAnnouncement } from "@frigade/react" ;
3
2
import {
4
3
Providers ,
5
4
defaultProvider ,
@@ -200,19 +199,6 @@ export default function ProvidersPage({
200
199
201
200
return (
202
201
< >
203
- < FrigadeAnnouncement
204
- flowId = "flow_VpefBUPWpliWceBm"
205
- modalPosition = "center"
206
- onButtonClick = { ( stepData , index , cta ) => {
207
- if ( cta === "primary" ) {
208
- window . open (
209
- "https://calendly.com/d/4p7-8dg-399/keep-onboarding" ,
210
- "_blank"
211
- ) ;
212
- }
213
- return true ;
214
- } }
215
- />
216
202
{ installedProviders . length > 0 && (
217
203
< ProvidersTiles
218
204
providers = { installedProviders }
Original file line number Diff line number Diff line change 1
- import { FrigadeProvider } from "@frigade/react" ;
2
1
import { getServerSession } from "next-auth/next" ;
3
2
import { authOptions } from "pages/api/auth/[...nextauth]" ;
4
3
import ProvidersPage from "./page.client" ;
5
- import Cookies from "js-cookie" ;
6
4
7
5
export default async function Page ( {
8
6
searchParams,
9
7
} : {
10
8
searchParams ?: { [ key : string ] : string } ;
11
9
} ) {
12
10
const session = await getServerSession ( authOptions ) ;
13
- return (
14
- < FrigadeProvider
15
- publicApiKey = "api_public_6BKR7bUv0YZ5dqnjLGeHpRWCHaDWeb5cVobG3A9YkW0gOgafOEBvtJGZgvhp8PGb"
16
- userId = { session ?. user ?. email || Cookies . get ( "anonymousId" ) }
17
- config = { {
18
- debug : true ,
19
- defaultAppearance : { theme : { colorPrimary : "#F97316" } } ,
20
- } }
21
- >
22
- < ProvidersPage searchParams = { searchParams } />
23
- </ FrigadeProvider >
24
- ) ;
11
+ return < ProvidersPage searchParams = { searchParams } /> ;
25
12
}
26
13
27
14
export const metadata = {
You can’t perform that action at this time.
0 commit comments