mirror of
https://github.com/itsRevela/Revelations-Launcher.git
synced 2026-05-21 18:54:29 +00:00
fix: resolve TypeScript error in setCustomEditions call
This commit is contained in:
@@ -199,7 +199,7 @@ export function useGameManager({ profile, setProfile, customEditions, setCustomE
|
||||
try {
|
||||
const dataUrl = await TauriService.getInstanceTitleImage(edition.id);
|
||||
if (edition.titleImage !== dataUrl) {
|
||||
setCustomEditions(prev => prev.map((e) =>
|
||||
setCustomEditions(customEditions.map((e: any) =>
|
||||
e.id === edition.id ? { ...e, titleImage: dataUrl } : e
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user