0

I'm doing a tutorial on Youtube and I am trying to use RRD v6.

https://www.youtube.com/watch?v=x_EEwGe-a9o around the 4:26:29 mark he is implementing a component that validates a private route called "IsUserRedirect".

I don't have users yet, but I can't get anything to render.

Here is what I have so far

enter image description here

enter image description here

I tried to wrap <IsUserRedirect> in side the element prop where the component is rendered.

enter image description here

enter image description here

  • Please post properly formatted and readable code snippets instead of images. Images are not searchable or copy/pasteable, and can be more difficult to read and are not screenreader accessible. I can tell from the first screenshot though that you are going down the road of making a RRDv5 private route component which is incompatible in v6. See linked duplicate for v6 version or route protection. – Drew Reese Apr 01 '22 at 00:13

0 Answers0