mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Fix color by id if no image found
This commit is contained in:
@@ -35,6 +35,7 @@ export const useFastAverageColor = (args: {
|
||||
return setColor('rgba(0, 0, 0, 0)');
|
||||
});
|
||||
} else if (srcLoaded) {
|
||||
idRef.current = id;
|
||||
return setColor('var(--placeholder-bg)');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user