diff --git a/examples/svelte/auto-refetching/src/routes/+page.svelte b/examples/svelte/auto-refetching/src/routes/+page.svelte index e9d5c21d5d..ab5e83e17f 100644 --- a/examples/svelte/auto-refetching/src/routes/+page.svelte +++ b/examples/svelte/auto-refetching/src/routes/+page.svelte @@ -50,9 +50,9 @@ width:.75rem; height:.75rem; background: {$todos.isFetching ? 'green' : 'transparent'}; - transition:: {!$todos.isFetching ? 'all .3s ease' : 'none'}; + transition: {!$todos.isFetching ? 'all .3s ease' : 'none'}; border-radius: 100%; - transform: 'scale(2)" + transform: scale(1.5)" > diff --git a/examples/svelte/auto-refetching/src/routes/api/data/+server.ts b/examples/svelte/auto-refetching/src/routes/api/data/+server.ts index cc192e37ee..42e78243f2 100644 --- a/examples/svelte/auto-refetching/src/routes/api/data/+server.ts +++ b/examples/svelte/auto-refetching/src/routes/api/data/+server.ts @@ -15,6 +15,6 @@ export const GET: RequestHandler = async ({ url }) => { } else if (clear) { list.items = [] } - await new Promise((r) => setTimeout(r, 1000)) + await new Promise((r) => setTimeout(r, 200)) return json(list, { status: 200 }) }