fix #35: the actions don't update the status
This commit is contained in:
parent
17e738e21a
commit
29eaf1a02b
5 changed files with 114 additions and 96 deletions
src/timelines
|
@ -58,9 +58,10 @@ const TootBottomSheet: Component = (props) => {
|
|||
},
|
||||
);
|
||||
|
||||
const toot = () => catchError(remoteToot, (error) => {
|
||||
console.error(error)
|
||||
}) ?? getCache(acctText(), params.id);
|
||||
const toot = () =>
|
||||
catchError(remoteToot, (error) => {
|
||||
console.error(error);
|
||||
}) ?? getCache(acctText(), params.id);
|
||||
|
||||
createEffect((lastTootId?: string) => {
|
||||
const tootId = toot()?.id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue