Skip to content

Commit

Permalink
examples(svelte-query): fix svelte auto-refetching styling (#7951)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins authored Aug 24, 2024
1 parent 73258c6 commit 519759d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/svelte/auto-refetching/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
></span>
</div>
</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}

0 comments on commit 519759d

Please sign in to comment.