From 87892ed815200b9db7bbb0218a46364d55b71c7e Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sat, 14 Dec 2024 12:12:51 +0700 Subject: [PATCH] feat: fix onboarding --- .../launches/add.provider.component.tsx | 5 +- .../launches/launches.component.tsx | 2 + .../onboarding/connect.channels.tsx | 130 ++++++++++++++++-- 3 files changed, 120 insertions(+), 17 deletions(-) diff --git a/apps/frontend/src/components/launches/add.provider.component.tsx b/apps/frontend/src/components/launches/add.provider.component.tsx index dc5e9049..f7e58044 100644 --- a/apps/frontend/src/components/launches/add.provider.component.tsx +++ b/apps/frontend/src/components/launches/add.provider.component.tsx @@ -191,10 +191,11 @@ export const CustomVariables: FC<{ validation: string; type: 'text' | 'password'; }>; + close?: () => void; identifier: string; gotoUrl(url: string): void; }> = (props) => { - const { gotoUrl, identifier, variables } = props; + const { close, gotoUrl, identifier, variables } = props; const modals = useModals(); const schema = useMemo(() => { return object({ @@ -241,7 +242,7 @@ export const CustomVariables: FC<{