react router component on two path code example
Example: multiple path names for a same component in react router
{["/home", "/users", "/widgets"].map((path, index) =>
)}
{["/home", "/users", "/widgets"].map((path, index) =>
)}