mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-05 08:06:19 +00:00
onboarding complete
This commit is contained in:
parent
fd51e5a0b2
commit
af6ab08c53
1 changed files with 8 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import { MCPDetailView } from "@/components/mcp-detail-view"
|
|||
import { useRouter } from "next/navigation"
|
||||
import { cn } from "@lib/utils"
|
||||
import { dmSansClassName } from "@/utils/fonts"
|
||||
import { useOnboardingStorage } from "@hooks/use-onboarding-storage"
|
||||
|
||||
const integrationCards = [
|
||||
{
|
||||
|
|
@ -58,6 +59,12 @@ const integrationCards = [
|
|||
export function IntegrationsStep() {
|
||||
const router = useRouter()
|
||||
const [selectedCard, setSelectedCard] = useState<string | null>(null)
|
||||
const { markOnboardingCompleted } = useOnboardingStorage()
|
||||
|
||||
const handleContinue = () => {
|
||||
markOnboardingCompleted()
|
||||
router.push("/")
|
||||
}
|
||||
|
||||
if (selectedCard === "Connect to AI") {
|
||||
return <MCPDetailView onBack={() => setSelectedCard(null)} />
|
||||
|
|
@ -126,7 +133,7 @@ export function IntegrationsStep() {
|
|||
>
|
||||
← Back
|
||||
</Button>
|
||||
<Button variant="link" className="text-white hover:text-gray-300">
|
||||
<Button variant="link" className="text-white hover:text-gray-300" onClick={handleContinue}>
|
||||
Continue →
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue