Skip to content

Commit b1589b2

Browse files
author
Nathan Booker
committed
Remove 'edge' runtime export from multiple page components and API routes to standardize runtime configuration.
1 parent 78afaf8 commit b1589b2

31 files changed

Lines changed: 3 additions & 66 deletions

File tree

core/app/[locale]/(default)/(auth)/change-password/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,3 @@ export default async function ChangePassword({ searchParams }: Props) {
3939

4040
return null;
4141
}
42-
43-
export const runtime = 'edge';

core/app/[locale]/(default)/(auth)/login/forgot-password/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,3 @@ export default async function Reset() {
4848
</div>
4949
);
5050
}
51-
52-
export const runtime = 'edge';

core/app/[locale]/(default)/(auth)/register/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ export default async function Register() {
4040
</div>
4141
);
4242
}
43-
44-
export const runtime = 'edge';

core/app/[locale]/(default)/(faceted)/brand/[slug]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,3 @@ export default async function Brand(props: Props) {
124124
</div>
125125
);
126126
}
127-
128-
export const runtime = 'edge';

core/app/[locale]/(default)/(faceted)/category/[slug]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,3 @@ export default async function Category(props: Props) {
140140
</div>
141141
);
142142
}
143-
144-
export const runtime = 'edge';

core/app/[locale]/(default)/(faceted)/search/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,3 @@ export default async function Search(props: Props) {
113113
</div>
114114
);
115115
}
116-
117-
export const runtime = 'edge';

core/app/[locale]/(default)/account/addresses/add/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,3 @@ export default async function AddPage() {
9696
</div>
9797
);
9898
}
99-
100-
export const runtime = 'edge';

core/app/[locale]/(default)/account/addresses/edit/[slug]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,3 @@ export default async function Edit({ params }: Props) {
138138
</div>
139139
);
140140
}
141-
142-
export const runtime = 'edge';

core/app/[locale]/(default)/account/addresses/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,3 @@ export default async function Addresses({ searchParams }: Props) {
5454
</>
5555
);
5656
}
57-
58-
export const runtime = 'edge';

core/app/[locale]/(default)/account/order/[slug]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,3 @@ export default async function Order(props: Props) {
6767

6868
return <OrderDetails data={data} />;
6969
}
70-
71-
export const runtime = 'edge';

0 commit comments

Comments
 (0)