Browse Source

landing-blocks/src/hooks: removed require call

master
remorses 7 months ago
parent
commit
6c50741156
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      landing-blocks/src/hooks.tsx

+ 3
- 1
landing-blocks/src/hooks.tsx View File

@ -1,7 +1,9 @@
import { useColorMode } from '@chakra-ui/core'
import { Faded, FadedProps } from 'baby-i-am-faded'
import React, { ElementType, useMemo } from 'react'
require('intersection-observer')
// TODO intersection-observer polyfill
// require('intersection-observer')
export function useFaded({

Loading…
Cancel
Save