From 8770e2463990f36f544dd3df9743aabb3e22599f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 19 Mar 2024 11:10:02 -0400 Subject: [PATCH] fix: wrap page in Authenticated component --- app/routes/account.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/routes/account.tsx b/app/routes/account.tsx index 437bb5a..443e726 100644 --- a/app/routes/account.tsx +++ b/app/routes/account.tsx @@ -1,10 +1,11 @@ import { getFormProps, useForm } from "@conform-to/react"; import { getZodConstraint, parseWithZod } from "@conform-to/zod"; import { - BaseKey, - useGetIdentity, - useUpdate, - useUpdatePassword, + Authenticated, + BaseKey, + useGetIdentity, + useUpdate, + useUpdatePassword, } from "@refinedev/core"; import { useState } from "react"; import { z } from "zod"; @@ -41,7 +42,8 @@ export default function MyAccount() { }); return ( - + +

My Account

+
); }