Removed unnecessary '?'

This commit is contained in:
2024-11-23 09:32:31 -06:00
parent c181252476
commit f24dfca852
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export default async function Home() {
return (
<main className="my-20">
<h1 className="my-20 text-center text-2xl font-bold lowercase underline underline-offset-4">
{session?.user.name ? `${session.user.name}'s notes` : "notes"}
{session.user.name}&apos;s notes
</h1>
<div className="mx-auto max-w-6xl px-6">

View File

@@ -33,7 +33,7 @@ export default async function List({
return (
<main className="my-20">
<h1 className="my-20 text-center text-2xl font-bold lowercase underline underline-offset-4">
{session?.user.name ? `${session.user.name}'s notes` : "notes"}
{session.user.name}&apos;s notes
</h1>
<div className="mx-auto max-w-7xl px-6">

View File

@@ -41,7 +41,7 @@ export default async function Home() {
return (
<main className="my-20">
<h1 className="my-20 text-center text-2xl font-bold lowercase underline underline-offset-4">
{session?.user.name ? `${session.user.name}'s notes` : "notes"}
{session.user.name}&apos;s notes
</h1>
<div className="mx-auto max-w-7xl px-6">