Step {number}
@@ -61,67 +50,40 @@ export function DashboardQuickstart() {
return (
-
-
-
- Start with the CLI
-
-
- Connect your account and parse a document in two commands.
-
-
-
+
+
+ Start with the CLI
+
+
+ Connect your account and parse a document in two commands.
+
-
- }
- number="01"
- title="Connect your account"
- >
+
+
Approve the browser prompt. The CLI creates and stores its own key.
-
-
+
+
{loginCommand}
- }
- number="02"
- title="Parse a document"
- >
-
-
+
+
+
{parseCommand}
-
-
- Building an integration?{" "}
-
- Use the TypeScript SDK
-
- .
-
)
}
diff --git a/src/routes/dashboard.tsx b/src/routes/dashboard.tsx
index 27dc30d..858ce27 100644
--- a/src/routes/dashboard.tsx
+++ b/src/routes/dashboard.tsx
@@ -1,10 +1,4 @@
-import {
- ArrowUpRight,
- BookOpenText,
- BracketsCurly,
- CloudArrowUp,
- SignOut,
-} from "@phosphor-icons/react"
+import { BookOpenText, CloudArrowUp, SignOut } from "@phosphor-icons/react"
import { createFileRoute, redirect, useRouter } from "@tanstack/react-router"
import { useState } from "react"
@@ -33,8 +27,6 @@ export const Route = createFileRoute("/dashboard")({
search: { redirect: location.href },
})
}
-
- return { session }
},
head: () => ({
meta: [
@@ -47,7 +39,6 @@ export const Route = createFileRoute("/dashboard")({
function DashboardPage() {
const router = useRouter()
- const { session } = Route.useRouteContext()
const [signingOut, setSigningOut] = useState(false)
async function signOut() {
@@ -60,17 +51,7 @@ function DashboardPage() {
return (
-
-
+