Skip to content

Commit c452d69

Browse files
author
Jannick Garthen
committed
fix(ObserveViewport): wrong non es6 import declaration
1 parent 477693e commit c452d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ObserveViewport.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
const memoize = require('memoize-one');
2+
const memoize = require('memoize-one').default;
33
const raf = require('raf');
44

55
import { shallowEqualScroll, shallowEqualDimensions } from './utils';

0 commit comments

Comments
 (0)