Skip to content

Commit

Permalink
Remove react-app-polyfill, minor change to example text
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Hook committed Sep 29, 2020
1 parent edfbaba commit 5fe08ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/simple-viewport/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'react-app-polyfill/ie11'
import React, { useState } from 'react'
import ReactDOM from 'react-dom'
import { ViewportProvider, useViewport } from 'use-viewport'
Expand All @@ -11,7 +10,7 @@ function App() {
<div>
<Content />
<label style={{ marginTop: '20px' }}>
Throttle{' '}
Throttle(ms){' '}
<input
value={throttleAmount}
onChange={event => setThrottleAmount(Number(event.target.value))}
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-viewport/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3150,7 +3150,7 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=

lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4:
lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
Expand Down

0 comments on commit 5fe08ff

Please sign in to comment.