Settings: added lang and region picker dialog
This commit is contained in:
parent
4ae3def190
commit
b09effa4dc
10 changed files with 316 additions and 75 deletions
|
@ -10,7 +10,8 @@ import {
|
|||
children,
|
||||
Suspense,
|
||||
Match,
|
||||
Switch as JsSwitch
|
||||
Switch as JsSwitch,
|
||||
ErrorBoundary
|
||||
} from "solid-js";
|
||||
import { useDocumentTitle } from "../utils";
|
||||
import { type mastodon } from "masto";
|
||||
|
@ -125,7 +126,9 @@ const TimelinePanel: Component<{
|
|||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<ErrorBoundary fallback={(err, reset) => {
|
||||
return <p>Oops: {String(err)}</p>
|
||||
}}>
|
||||
<PullDownToRefresh
|
||||
linkedElement={scrollLinked()}
|
||||
loading={snapshot.loading}
|
||||
|
@ -202,7 +205,7 @@ const TimelinePanel: Component<{
|
|||
</Match>
|
||||
</JsSwitch>
|
||||
</div>
|
||||
</>
|
||||
</ErrorBoundary>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue