Compare commits
2 commits
69f7f37a2c
...
11c31f7f42
Author | SHA1 | Date | |
---|---|---|---|
|
11c31f7f42 | ||
|
bf06cfe2e1 |
2 changed files with 38 additions and 35 deletions
|
@ -38,7 +38,6 @@ export function useTimeline(
|
|||
async ([tl], info) => {
|
||||
let tlChanged = false;
|
||||
if (otl !== tl) {
|
||||
console.debug("timeline reset");
|
||||
npager = opager = undefined;
|
||||
otl = tl;
|
||||
tlChanged = true;
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
Suspense,
|
||||
Match,
|
||||
Switch as JsSwitch,
|
||||
ErrorBoundary
|
||||
ErrorBoundary,
|
||||
} from "solid-js";
|
||||
import { useDocumentTitle } from "../utils";
|
||||
import { type mastodon } from "masto";
|
||||
|
@ -126,9 +126,11 @@ const TimelinePanel: Component<{
|
|||
};
|
||||
|
||||
return (
|
||||
<ErrorBoundary fallback={(err, reset) => {
|
||||
return <p>Oops: {String(err)}</p>
|
||||
}}>
|
||||
<ErrorBoundary
|
||||
fallback={(err, reset) => {
|
||||
return <p>Oops: {String(err)}</p>;
|
||||
}}
|
||||
>
|
||||
<PullDownToRefresh
|
||||
linkedElement={scrollLinked()}
|
||||
loading={snapshot.loading}
|
||||
|
@ -404,6 +406,7 @@ const Home: ParentComponent = (props) => {
|
|||
}
|
||||
>
|
||||
<TimeSourceProvider value={now}>
|
||||
<Show when={!!client()}>
|
||||
<div class="panel-list" ref={panelList!}>
|
||||
<div class="tab-panel">
|
||||
<div>
|
||||
|
@ -438,6 +441,7 @@ const Home: ParentComponent = (props) => {
|
|||
</div>
|
||||
<div></div>
|
||||
</div>
|
||||
</Show>
|
||||
</TimeSourceProvider>
|
||||
<Suspense>
|
||||
<HeroSourceProvider value={[heroSrc, setHeroSrc]}>
|
||||
|
|
Loading…
Reference in a new issue