Skip to content

Commit

Permalink
Revert "fix"
Browse files Browse the repository at this point in the history
This reverts commit c867d97.
  • Loading branch information
lloydrichards committed Jan 25, 2022
1 parent 9a93fa1 commit 4e9f98d
Show file tree
Hide file tree
Showing 6 changed files with 28,436 additions and 15,093 deletions.
5 changes: 3 additions & 2 deletions components/helpers/useResizeObserver.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { useState, useEffect } from "react";
import { useState, useEffect } from 'react';
import ResizeObserver from 'resize-observer-polyfill';

const useResizeObserver = (
ref: React.MutableRefObject<HTMLObjectElement | null>,
ref: React.MutableRefObject<HTMLObjectElement | null>
) => {
const [dimensions, setDimentions] = useState<DOMRectReadOnly>();
useEffect(() => {
Expand Down
Loading

0 comments on commit 4e9f98d

Please sign in to comment.