Skip to content

Commit

Permalink
remove stores import in bp-thumbnails example component
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Jun 9, 2024
1 parent ab717f2 commit f49fe40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/demo/bp-thumbnails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { tweened } from 'svelte/motion'
import { fade } from 'svelte/transition'
import { cubicOut } from 'svelte/easing'
import { prefersReducedMotion } from '../stores'
import { resize } from './actions'
let opts
Expand All @@ -20,6 +19,10 @@
let focusWrap
let closing
const prefersReducedMotion = globalThis.matchMedia?.(
'(prefers-reduced-motion: reduce)'
).matches
let translate = tweened(0, {
easing: cubicOut,
duration: prefersReducedMotion ? 0 : 250,
Expand Down

0 comments on commit f49fe40

Please sign in to comment.