forked from Archives/Athou_commafeed
show placeholder while favicon is loading
This commit is contained in:
@@ -17,7 +17,7 @@ export function TreeSearch(props: TreeSearchProps) {
|
||||
.sort((f1, f2) => f1.name.localeCompare(f2.name))
|
||||
.map(f => ({
|
||||
title: f.name,
|
||||
icon: <Image src={f.iconUrl} alt="" width={18} height={18} />,
|
||||
icon: <Image withPlaceholder src={f.iconUrl} alt="" width={18} height={18} />,
|
||||
onTrigger: () => dispatch(redirectToFeed(f.id)),
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user