react router dom multiple paths 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) =>
)}