about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThreadItem.tsx
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-04-19 13:58:24 -0700
committerGitHub <noreply@github.com>2023-04-19 15:58:24 -0500
commit1472bd4f173a483e5f1a91514244fecaec23808f (patch)
treefc33a3e90d4024939ef022a2c468f7b58df5fc37 /src/view/com/post-thread/PostThreadItem.tsx
parentbe83d2933cfce1035573bc14108a87451cf48c2d (diff)
downloadvoidsky-1472bd4f173a483e5f1a91514244fecaec23808f.tar.zst
#420: add updateDataOptimistically utility to disallow like counter out of sync (#446)
* add isLikedPressed flag to disallow like counter out of sync

* create revertible helper for updateDataOptimistically

* test implementation

* Update updateDataOptimistically() and apply to reposts

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
0 files changed, 0 insertions, 0 deletions