2021-07-31 15:57:43 +00:00
|
|
|
import { Suspense } from "react";
|
|
|
|
import type { BlitzPage } from "blitz";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
import Layout from "../../core/layouts/layout";
|
|
|
|
import PhoneCallsList from "../components/phone-calls-list";
|
|
|
|
import useRequireOnboarding from "../../core/hooks/use-require-onboarding";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
const PhoneCalls: BlitzPage = () => {
|
2021-07-31 15:57:43 +00:00
|
|
|
useRequireOnboarding();
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
return (
|
|
|
|
<Layout title="Calls">
|
|
|
|
<div className="flex flex-col space-y-6 p-6">
|
2021-07-31 15:57:43 +00:00
|
|
|
<p>Calls page</p>
|
2021-07-31 14:33:18 +00:00
|
|
|
</div>
|
|
|
|
<Suspense fallback="Loading...">
|
|
|
|
<PhoneCallsList />
|
|
|
|
</Suspense>
|
|
|
|
</Layout>
|
2021-07-31 15:57:43 +00:00
|
|
|
);
|
|
|
|
};
|
2021-07-31 14:33:18 +00:00
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
PhoneCalls.authenticate = true;
|
2021-07-31 14:33:18 +00:00
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
export default PhoneCalls;
|