mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
Configure sections were local useState, so they could not be linked or bookmarked and always opened on the default section. Each section is now a route (/configure, /configure/models, /configure/workspace-prompt, /configure/proactivity, /configure/automations), mirroring the existing /integrations/[card] pattern. The shell renders from the segment layout so switching sections does not remount the app, and legacy /?view=configure links forward to /configure. Fixes ENG-1140
15 lines
272 B
TypeScript
15 lines
272 B
TypeScript
import { AppExperience } from "@/components/app-experience"
|
|
|
|
// Shell lives here so section nav doesn't remount the app.
|
|
export default function ConfigureLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<>
|
|
<AppExperience />
|
|
{children}
|
|
</>
|
|
)
|
|
}
|