use authenticated layout
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { Suspense } from "react";
|
||||
import type { BlitzPage } from "blitz";
|
||||
import { Routes } from "blitz";
|
||||
|
||||
import AppLayout from "app/core/layouts/layout";
|
||||
import MissingTwilioCredentials from "app/core/components/missing-twilio-credentials";
|
||||
@ -53,6 +52,4 @@ const PhoneCalls: BlitzPage = () => {
|
||||
|
||||
PhoneCalls.getLayout = (page) => <AppLayout title="Calls">{page}</AppLayout>;
|
||||
|
||||
PhoneCalls.authenticate = { redirectTo: Routes.SignIn() };
|
||||
|
||||
export default PhoneCalls;
|
||||
|
@ -165,6 +165,4 @@ const pressBackspaceAtom = atom(null, (get, set) => {
|
||||
|
||||
KeypadPage.getLayout = (page) => <AppLayout title="Keypad">{page}</AppLayout>;
|
||||
|
||||
KeypadPage.authenticate = { redirectTo: Routes.SignIn() };
|
||||
|
||||
export default KeypadPage;
|
||||
|
Reference in New Issue
Block a user