mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-24 17:11:00 +00:00
feat: new builtin skin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user