import type { FC } from "react";
import { useAccountPageVm } from "./AccountPage.vm";
import { AccountPageEmpty } from "./components/AccountPageEmpty.view";
import { AccountPageError } from "./components/AccountPageError.view";
import { AccountPageLoaded } from "./components/AccountPageLoaded.view";
import { AccountPageLoading } from "./components/AccountPageLoading/AccountPageLoading.view";
const AccountPage: FC = () => {
const vm = useAccountPageVm();
if (vm.state === "loading") return ;
if (vm.state === "error") return ;
if (vm.state === "empty")
return (
);
return (
);
};
export { AccountPage };