diff options
| author | Dhravya Shah <[email protected]> | 2024-07-26 12:02:20 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-26 12:02:20 -0500 |
| commit | 650237195fd07ff0e186e8a1808e02e31a016d37 (patch) | |
| tree | 16d8afcd9f22b002284af092d7f50ca735f25230 /apps/web/app/(auth) | |
| parent | Merge pull request #171 from JedPattersonn/jed/fix-breadcrumb (diff) | |
| parent | catch (diff) | |
| download | supermemory-650237195fd07ff0e186e8a1808e02e31a016d37.tar.xz supermemory-650237195fd07ff0e186e8a1808e02e31a016d37.zip | |
Merge pull request #163 from aryasaatvik/pnpm
pnpm
Diffstat (limited to 'apps/web/app/(auth)')
| -rw-r--r-- | apps/web/app/(auth)/layout.tsx | 14 | ||||
| -rw-r--r-- | apps/web/app/(auth)/onboarding/page.tsx | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/apps/web/app/(auth)/layout.tsx b/apps/web/app/(auth)/layout.tsx index 904d1987..8f45efbc 100644 --- a/apps/web/app/(auth)/layout.tsx +++ b/apps/web/app/(auth)/layout.tsx @@ -1,12 +1,12 @@ -import React from 'react'; -import { Toaster } from '@repo/ui/shadcn/sonner'; +import React from "react"; +import { Toaster } from "@repo/ui/shadcn/sonner"; function Layout({ children }: { children: React.ReactNode }) { - return ( - <div> - {children} <Toaster /> - </div> - ); + return ( + <div> + {children} <Toaster /> + </div> + ); } export default Layout; diff --git a/apps/web/app/(auth)/onboarding/page.tsx b/apps/web/app/(auth)/onboarding/page.tsx index 10dd2325..df5b83d6 100644 --- a/apps/web/app/(auth)/onboarding/page.tsx +++ b/apps/web/app/(auth)/onboarding/page.tsx @@ -10,7 +10,7 @@ import { CheckIcon, PlusCircleIcon } from "@heroicons/react/24/outline"; import { motion } from "framer-motion"; import { useEffect, useState } from "react"; import { toast } from "sonner"; -import { completeOnboarding, createMemory } from "@repo/web/app/actions/doers"; +import { completeOnboarding, createMemory } from "@/app/actions/doers"; import { useRouter } from "next/navigation"; import Logo from "../../../public/logo.svg"; import Image from "next/image"; @@ -28,7 +28,9 @@ export default function Home() { if (currStep > 3) { updateDb().then(() => { push("/home?q=what%20is%20supermemory"); - }); + }).catch((e) => { + console.error(e); + }); } }, [currStep]); |