mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 18:11:21 +01:00
Fixed typo.
This commit is contained in:
parent
a41b25eea7
commit
7b8b797f9c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import Collapse from 'react-collapse'
|
|||
import lodash from 'lodash'
|
||||
|
||||
|
||||
// Wait 3 seconds so when a use enables it they don't have to refresh the page.
|
||||
// Wait 3 seconds so when a user enables it they don't have to refresh the page.
|
||||
const isReduceMotionEnabled = lodash.throttle(() => {
|
||||
return window.matchMedia("(prefers-reduced-motion: reduce)").matches
|
||||
}, 3000);
|
||||
|
|
Loading…
Reference in a new issue