File tree Expand file tree Collapse file tree
app/dashboard/[teamIdOrSlug]/sandboxes/[sandboxId]
features/dashboard/sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import SandboxDetailsTabs from '@/features/dashboard/sandbox/tabs'
44import { resolveTeamIdInServerComponent } from '@/lib/utils/server'
55import { getSandboxDetails } from '@/server/sandboxes/get-sandbox-details'
66
7+ export const fetchCache = 'default-cache'
8+
79interface SandboxLayoutProps {
810 children : React . ReactNode
911 params : Promise < { teamIdOrSlug : string ; sandboxId : string } >
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export default async function SandboxDetailsHeader({
1919 < Link
2020 href = { PROTECTED_URLS . SANDBOXES ( teamIdOrSlug ) }
2121 className = "text-fg-300 hover:text-fg flex items-center gap-1.5 transition-colors"
22+ prefetch
23+ shallow
2224 >
2325 < ChevronLeftIcon className = "size-5" />
2426 Sandboxes
You can’t perform that action at this time.
0 commit comments