mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
Fix color by id if no image found
This commit is contained in:
parent
2c9509b58d
commit
03a4a1da55
1 changed files with 1 additions and 0 deletions
|
|
@ -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)');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue