Removed unnecessary '?'
This commit is contained in:
@@ -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}'s notes
|
||||
</h1>
|
||||
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
|
||||
@@ -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}'s notes
|
||||
</h1>
|
||||
|
||||
<div className="mx-auto max-w-7xl px-6">
|
||||
|
||||
@@ -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}'s notes
|
||||
</h1>
|
||||
|
||||
<div className="mx-auto max-w-7xl px-6">
|
||||
|
||||
Reference in New Issue
Block a user