Skip to content

Commit 9d4fdb2

Browse files
committed
Update fixtures
1 parent 31a82e5 commit 9d4fdb2

24 files changed

+48
-48
lines changed

fixtures/react-router-cloudflare/app/routes/[another-page]._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-cloudflare/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-docker/app/routes/[another-page]._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-docker/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-netlify/app/routes/[another-page]._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-netlify/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-vercel/app/routes/[another-page]._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/react-router-vercel/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4343

4444
const customFetch: typeof fetch = (input, init) => {
4545
if (typeof input !== "string") {
46-
return cachedFetch(input, init, projectId);
46+
return cachedFetch(projectId, input, init);
4747
}
4848

4949
if (isLocalResource(input, "sitemap.xml")) {
@@ -53,7 +53,7 @@ const customFetch: typeof fetch = (input, init) => {
5353
return Promise.resolve(response);
5454
}
5555

56-
return cachedFetch(input, init, projectId);
56+
return cachedFetch(projectId, input, init);
5757
};
5858

5959
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/webstudio-cloudflare-template/app/routes/[another-page]._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4444

4545
const customFetch: typeof fetch = (input, init) => {
4646
if (typeof input !== "string") {
47-
return cachedFetch(input, init, projectId);
47+
return cachedFetch(projectId, input, init);
4848
}
4949

5050
if (isLocalResource(input, "sitemap.xml")) {
@@ -54,7 +54,7 @@ const customFetch: typeof fetch = (input, init) => {
5454
return Promise.resolve(response);
5555
}
5656

57-
return cachedFetch(input, init, projectId);
57+
return cachedFetch(projectId, input, init);
5858
};
5959

6060
export const loader = async (arg: LoaderFunctionArgs) => {

fixtures/webstudio-cloudflare-template/app/routes/_index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { sitemap } from "../__generated__/$resources.sitemap.xml";
4444

4545
const customFetch: typeof fetch = (input, init) => {
4646
if (typeof input !== "string") {
47-
return cachedFetch(input, init, projectId);
47+
return cachedFetch(projectId, input, init);
4848
}
4949

5050
if (isLocalResource(input, "sitemap.xml")) {
@@ -54,7 +54,7 @@ const customFetch: typeof fetch = (input, init) => {
5454
return Promise.resolve(response);
5555
}
5656

57-
return cachedFetch(input, init, projectId);
57+
return cachedFetch(projectId, input, init);
5858
};
5959

6060
export const loader = async (arg: LoaderFunctionArgs) => {

0 commit comments

Comments
 (0)