mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
737c7b9473
* Added random theme and current season functionality.
* These were also added to the navigation.
* The new home page replaces the old index ("/") page which was now moved to "/dev".
* Anime on the series page are now sorted by their premiere date.
* Adjusted database and API queries according to changes on the back-end.
7 lines
165 B
JavaScript
7 lines
165 B
JavaScript
export function shouldUpdateScroll({
|
|
routerProps,
|
|
prevRouterProps
|
|
}) {
|
|
return routerProps?.location?.pathname !== prevRouterProps?.location?.pathname;
|
|
}
|