File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
app/dashboard/[teamIdOrSlug]/sandboxes/[sandboxId]
features/dashboard/sandbox Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import SandboxDetailsTabs from '@/features/dashboard/sandbox/tabs'
4
4
import { resolveTeamIdInServerComponent } from '@/lib/utils/server'
5
5
import { getSandboxDetails } from '@/server/sandboxes/get-sandbox-details'
6
6
7
+ export const fetchCache = 'default-cache'
8
+
7
9
interface SandboxLayoutProps {
8
10
children : React . ReactNode
9
11
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({
19
19
< Link
20
20
href = { PROTECTED_URLS . SANDBOXES ( teamIdOrSlug ) }
21
21
className = "text-fg-300 hover:text-fg flex items-center gap-1.5 transition-colors"
22
+ prefetch
23
+ shallow
22
24
>
23
25
< ChevronLeftIcon className = "size-5" />
24
26
Sandboxes
You can’t perform that action at this time.
0 commit comments