Start adding PersonTitlePage

This commit is contained in:
Prayag Prajapati committed 2023-09-13 23:36:11 +05:30
1 parent fb27c3071f
commit d7a6fc2dd0
6 files changed
+739 -101

No files matched your search

+1 -5
View File
@@ -58,11 +58,7 @@ export const ActorCard = ({
}) => {
const navigate = useNavigate();
const defaultOnClick = () => {
if (availableSpecialRoutes.includes(item.Type)) {
navigate(`/${item.Type.toLocaleLowerCase()}/${item.Id}`);
} else {
navigate(`/item/${item.Id}`);
}
navigate(`/person/${item.Id}`);
};
return (
<CardActionArea