Skip to content

Commit

Permalink
v0.2.3 fix import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rob2d committed Apr 20, 2019
1 parent 20ed4ed commit 246bd46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-viewport-sizes",
"version": "0.2.0",
"version": "0.2.3",
"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.",
"main": "build/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState, useEffect, useMemo } from "react"
import { useState, useEffect, useLayoutEffect, useMemo } from "react"

// Note: not using pure ES6/7 as babel
// transpilation eats into precious
Expand Down

0 comments on commit 246bd46

Please sign in to comment.