mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-08-20 04:27:29 +00:00
feat: new builtin skin
This commit is contained in:
parent
d436483cb2
commit
879d4a0a2d
BIN
public/Skins/amy.png
Normal file
BIN
public/Skins/amy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
|
|
@ -54,6 +54,7 @@ const DEFAULT_SKINS: SavedSkin[] = [
|
|||
url: "/Skins/PrismaChunk0.png",
|
||||
isSlim: false,
|
||||
},
|
||||
{ id: "amy", name: "Amy", url: "/Skins/amy.png", isSlim: true },
|
||||
];
|
||||
|
||||
const SkinsView = memo(function SkinsView() {
|
||||
|
|
@ -167,7 +168,11 @@ const SkinsView = memo(function SkinsView() {
|
|||
}
|
||||
} catch (e: unknown) {
|
||||
setImportError(
|
||||
e instanceof Error ? e.message : typeof e === "string" ? e : "Failed to fetch",
|
||||
e instanceof Error
|
||||
? e.message
|
||||
: typeof e === "string"
|
||||
? e
|
||||
: "Failed to fetch",
|
||||
);
|
||||
} finally {
|
||||
setIsImporting(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue