Declare a ref while avoiding element possibly null lint warning

PHOTO EMBED

Tue Sep 08 2020 15:31:13 GMT+0000 (Coordinated Universal Time)

Saved by @hbenfred #reac

  const ref = useRef() as MutableRefObject<HTMLDivElement>;
content_copyCOPY