diff --git a/.changeset/thick-yaks-exist.md b/.changeset/thick-yaks-exist.md new file mode 100644 index 0000000000..461c627ac6 --- /dev/null +++ b/.changeset/thick-yaks-exist.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +fix: removing redundant optional chaining in templates diff --git a/cli/template/page-studs/index/with-auth-trpc-tw.tsx b/cli/template/page-studs/index/with-auth-trpc-tw.tsx index 8ea1320850..f696bdf102 100644 --- a/cli/template/page-studs/index/with-auth-trpc-tw.tsx +++ b/cli/template/page-studs/index/with-auth-trpc-tw.tsx @@ -67,7 +67,7 @@ const AuthShowcase: React.FC = () => { return (

- {sessionData && Logged in as {sessionData?.user?.name}} + {sessionData && Logged in as {sessionData.user?.name}} {secretMessage && - {secretMessage}}