react useref current null