Display the list of spaces
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { MatrixSyncApi } from "../api/MatrixSyncApi";
|
||||
import { AsyncWidget } from "../widgets/AsyncWidget";
|
||||
import { useUserInfo } from "../widgets/dashboard/BaseAuthenticatedPage";
|
||||
import { MainMessageWidget } from "../widgets/messages/MainMessagesWidget";
|
||||
import { NotLinkedAccountMessage } from "../widgets/NotLinkedAccountMessage";
|
||||
|
||||
export function HomeRoute(): React.ReactElement {
|
||||
@@ -8,15 +7,5 @@ export function HomeRoute(): React.ReactElement {
|
||||
|
||||
if (!user.info.matrix_account_connected) return <NotLinkedAccountMessage />;
|
||||
|
||||
return (
|
||||
<p>
|
||||
Todo home route{" "}
|
||||
<AsyncWidget
|
||||
loadKey={1}
|
||||
errMsg="Failed to start sync thread!"
|
||||
load={MatrixSyncApi.Start}
|
||||
build={() => <>sync started</>}
|
||||
/>
|
||||
</p>
|
||||
);
|
||||
return <MainMessageWidget />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user