unistore wip

This commit is contained in:
ntr committed 2022-09-03 14:26:41 +10:00
1 parent a43d4f32e4
commit cf01670ee6
17 files changed
+253 -79

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export default function Offer(offer) {
const [accepted, setAccepted] = useState(offer.status !== 'pending');
async function onClick() {
const [error] = await actions.postOfferAccept(offer.id);
const [error] = await http.postOfferAccept(offer.id);
if (error) return false;
setAccepted(true);
}