fix webapp card resync

This commit is contained in:
Roland Osborne 2023-01-20 20:38:39 -08:00
parent d21473e76b
commit 5dc6cc926b
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export function CardItem({ item, tooltip, resync, open }) {
return ( return (
<CardItemWrapper onClick={open}> <CardItemWrapper onClick={open}>
<Logo url={item.logo} width={32} height={32} radius={8} /> <Logo url={item.logo} width={32} height={32} radius={4} />
<div className="details"> <div className="details">
<div className="name">{ item.name }</div> <div className="name">{ item.name }</div>
<div className="handle">{ item.handle }</div> <div className="handle">{ item.handle }</div>

View File

@ -106,7 +106,7 @@ export function useCards() {
updateState({ sorted: value }); updateState({ sorted: value });
}, },
resync: async (cardId) => { resync: async (cardId) => {
await card.actions.resync(cardId); await card.actions.resyncCard(cardId);
}, },
}; };