refactor: 将 enum key的格式改为 PascalCase

This commit is contained in:
qier222 2022-04-16 22:39:51 +08:00
parent 0061a66124
commit 7e892997bd
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
36 changed files with 141 additions and 142 deletions

View file

@ -127,7 +127,7 @@ const Playlists = () => {
<div>
<CoverRow
playlists={playlists?.playlist?.slice(1) ?? []}
subtitle={Subtitle.CREATOR}
subtitle={Subtitle.Creator}
/>
</div>
)
@ -140,7 +140,7 @@ const Albums = () => {
return (
<div>
<CoverRow albums={albums?.data ?? []} subtitle={Subtitle.ARTIST} />
<CoverRow albums={albums?.data ?? []} subtitle={Subtitle.Artist} />
</div>
)
}
@ -150,7 +150,7 @@ const Artists = () => {
return (
<div>
<CoverRow artists={artists?.data ?? []} subtitle={Subtitle.ARTIST} />
<CoverRow artists={artists?.data ?? []} subtitle={Subtitle.Artist} />
</div>
)
}