refactor: use display_name for wallpaper name
This commit is contained in:
@@ -16,7 +16,7 @@ export default function WallpaperPage() {
|
||||
return null;
|
||||
}
|
||||
|
||||
const imageName = selectedWallpaper.public_id.replace("wallpaper/", "");
|
||||
const imageName = selectedWallpaper.display_name;
|
||||
|
||||
async function downloadWallpaper() {
|
||||
if (!selectedWallpaper) {
|
||||
|
Reference in New Issue
Block a user