mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: updates
This commit is contained in:
parent
08abf8229f
commit
fb21405bf9
33 changed files with 699 additions and 361 deletions
|
|
@ -3,7 +3,7 @@ import Skeleton from '@/components/Skeleton'
|
|||
import SvgIcon from '@/components/SvgIcon'
|
||||
import { prefetchAlbum } from '@/hooks/useAlbum'
|
||||
import { prefetchPlaylist } from '@/hooks/usePlaylist'
|
||||
import { formatDate, resizeImage } from '@/utils/common'
|
||||
import { formatDate, resizeImage, scrollToTop } from '@/utils/common'
|
||||
|
||||
export enum Subtitle {
|
||||
COPYWRITER = 'copywriter',
|
||||
|
|
@ -111,6 +111,7 @@ const CoverRow = ({
|
|||
if (playlists) navigate(`/playlist/${id}`)
|
||||
if (artists) navigate(`/artist/${id}`)
|
||||
if (navigateCallback) navigateCallback()
|
||||
scrollToTop()
|
||||
}
|
||||
|
||||
const prefetch = (id: number) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue