TootActionGroup: remove css module

This commit is contained in:
thislight 2024-11-23 23:01:35 +08:00
parent ad7db8e865
commit 296de7d23b
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
6 changed files with 153 additions and 236 deletions

View file

@ -6,6 +6,7 @@ import {
createSelector,
Index,
createMemo,
For,
} from "solid-js";
import { type mastodon } from "masto";
import { vibrate } from "~platform/hardware";
@ -278,10 +279,10 @@ const TootList: Component<{
vote: vote
}}>
<div ref={props.ref} id={props.id} class="toot-list">
<Index each={props.threads}>
<For each={props.threads}>
{(threadId, threadIdx) => {
const thread = createMemo(() =>
props.onUnknownThread(threadId())?.reverse(),
props.onUnknownThread(threadId)?.reverse(),
);
const threadLength = () => thread()?.length ?? 0;
@ -311,7 +312,7 @@ const TootList: Component<{
</Index>
);
}}
</Index>
</For>
</div>
</TootEnvProvider>
</ErrorBoundary>