Skip to content

Commit 767b370

Browse files
committed
fix: parse cover
1 parent 03f774c commit 767b370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export default function cover(url: string) {
1+
export default function cover(url?: string) {
22
return url?.replace('._SY75_', '').replace('._UY200_', '')
33
}

0 commit comments

Comments
 (0)