TootActionGroup: remove css module
This commit is contained in:
parent
ad7db8e865
commit
296de7d23b
6 changed files with 153 additions and 236 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue