Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

571 B
Raw Blame
import { SettingsIndexPage } from '@spree/dashboard-core'
import { createFileRoute } from '@tanstack/react-router'

export const Route = createFileRoute('/_authenticated/$storeId/settings/')({
  component: SettingsIndexRoute,
})

/**
 * The page itself lives in `@spree/dashboard-core` so the marketplace seller
 * panel renders the same one. What stays here is the route — paths differ per
 * panel, and file routes are generated per app.
 */
function SettingsIndexRoute() {
  const { storeId } = Route.useParams()

  return <SettingsIndexPage tenantId={storeId} />
}