Skip to content

Commit 246bd46

Browse files
committed
v0.2.3 fix import issue
1 parent 20ed4ed commit 246bd46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-viewport-sizes",
3-
"version": "0.2.0",
3+
"version": "0.2.3",
44
"description": "tiny React hook which allows you to track visible window viewport size in your components w/ an optional debounce for updates for optimal rendering.",
55
"main": "build/index.js",
66
"scripts": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState, useEffect, useMemo } from "react"
1+
import { useState, useEffect, useLayoutEffect, useMemo } from "react"
22

33
// Note: not using pure ES6/7 as babel
44
// transpilation eats into precious

0 commit comments

Comments
 (0)