import { AccountPageEmpty, AccountPageError, AccountPageLoaded, AccountPageLoading, } from "./AccountPage.view"; import { useAccountPageViewModel } from "./AccountPage.vm"; export function AccountPage() { const viewModel = useAccountPageViewModel(); if (viewModel.state === "loading") return ; if (viewModel.state === "error") return ; if (viewModel.state === "empty") return ( ); return ( ); } export { AccountPageEmpty, AccountPageError, AccountPageLoaded, AccountPageLoading, } from "./AccountPage.view";