expand offers

This commit is contained in:
ntr committed 2022-12-21 22:02:24 +11:00
1 parent f0623cb74b
commit 6b73831b51
5 files changed
+25 -23

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ function Want(want) {
</div>
<img src={r.thumb} />
<div class='details'>
<div class='alt'>{r.year}</div>
<div class='alt'>{r.formats[0].descriptions.join(' ')}</div>
<div class='alt'>{r.year} - {r.formats[0].descriptions.join(' ')}</div>
<div class='alt'>{want._count.offers} offers</div>
</div>
<button onClick={onClick} >{text}</button>
</article>
-8
View File
@@ -74,14 +74,6 @@ function Home() {
ws.sendAcpListingsSync();
}
if (!offers.length) {
return (
<div class={'offers'}>
loading...
</div>
);
}
return (
<div>
<button onClick={sync}> sync listings </button>