I think it's best to make things generic as possible. So whilst this is a component for just Ros, more generically it's something like
PreviewWrapper or AdminWrapper, and I would recommend adding a type to your users, and referring to that rather than hard coding a (random) user ID to render what might be content you don't want normal users to see.
I think it's best to make things generic as possible. So whilst this is a component for just Ros, more generically it's something like
PreviewWrapper
orAdminWrapper
, and I would recommend adding atype
to your users, and referring to that rather than hard coding a (random) user ID to render what might be content you don't want normal users to see.