Gautam-Arora24/resize-observer-hook

Remove the import of `useRef` from usage section in README.md.

Closed this issue · 0 comments

The piece of code in the usage section contains the import of useRef which is no longer needed. The need for the ref parameter for the hook was removed in #2.

Changes Needed

• Remove the useRef import from the example code.
• Remove the ref paramater from the hook in the README.md.