The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add lastStep prop
Isaiah Hamilton9c5e5800ea8e
diff --git a/apps/docs/components/StepHikeCompact/index.tsx b/apps/docs/components/StepHikeCompact/index.tsxindex 6ef75c7140c..1c9573df0b9 100644--- a/apps/docs/components/StepHikeCompact/index.tsx+++ b/apps/docs/components/StepHikeCompact/index.tsx@@ -4,6 +4,7 @@ import React, { FC } from 'react'interface IStep {title: stringstep: number | string+ lastStep?: boolean}interface IStepHikeCompactSubcomponents {@@ -27,7 +28,7 @@ const StepHikeCompact: FC<IStepHikeCompact> & IStepHikeCompactSubcomponents = ({return <div className="py-8">{children}</div>}-const Step: FC<IStep> = ({ children, title, step }) => {+const Step: FC<IStep> = ({ children, title, step, lastStep }) => {return (<div className="relative pb-8"><div@@ -39,15 +40,17 @@ const Step: FC<IStep> = ({ children, title, step }) => {h-full">- <div- className="- absolute- w-full- h-full- py-1- bg-scale-400- "- ></div>+ {lastStep ? null : (+ <div+ className="+ absolute+ w-full+ h-full+ py-1+ bg-scale-400+ "+ ></div>+ )}</div><divclassName="