refactor: move most routing logic to tanstack

This commit is contained in:
Prayag Prajapati committed 2024-05-29 18:10:22 +05:30
1 parent b8552ac35d
commit c22dbefeea
22 files changed
+1191 -1502

No files matched your search

+6 -1
View File
@@ -965,7 +965,12 @@ function SeriesTitlePage() {
return (
<motion.div
key={episode.Id}
onClick={() => navigate(`/episode/${episode.Id}`)}
onClick={() =>
navigate({
to: "/episode/$id",
params: { id: episode.Id },
})
}
initial={{
transform: "translateY(10px)",
opacity: 0,