This commit is contained in:
parent
29eaf1a02b
commit
cd1ae210e7
4 changed files with 2 additions and 108 deletions
|
@ -1,6 +1,5 @@
|
|||
import {
|
||||
Component,
|
||||
For,
|
||||
createSignal,
|
||||
ErrorBoundary,
|
||||
type Ref,
|
||||
|
@ -20,7 +19,6 @@ import RegularToot, {
|
|||
findRootToot,
|
||||
} from "./RegularToot";
|
||||
import cardStyle from "../material/cards.module.css";
|
||||
import type { ReactiveMap } from "@solid-primitives/map";
|
||||
import type { ThreadNode } from "../masto/timelines";
|
||||
|
||||
function positionTootInThread(index: number, threadLength: number) {
|
||||
|
@ -73,7 +71,7 @@ const TootList: Component<{
|
|||
});
|
||||
}
|
||||
|
||||
/* const result = reblogged
|
||||
const result = reblogged
|
||||
? await client.v1.statuses.$select(status.id).unreblog()
|
||||
: (await client.v1.statuses.$select(status.id).reblog()).reblog!;
|
||||
|
||||
|
@ -84,7 +82,7 @@ const TootList: Component<{
|
|||
});
|
||||
} else {
|
||||
props.onChangeToot(status.id, result);
|
||||
} */
|
||||
}
|
||||
};
|
||||
|
||||
const toggleFavourite = async (status: mastodon.v1.Status) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue