diff --git a/src/components/CommandPalette.tsx b/src/components/CommandPalette.tsx index 7e4ff40..5e3c185 100644 --- a/src/components/CommandPalette.tsx +++ b/src/components/CommandPalette.tsx @@ -123,7 +123,7 @@ function CommandMenu() { style={{ padding: '9rem 16px 16px' }} > {session ? ( -
+ <> {session.user.email} -
+ ) : null} -
+ <> -
+
@@ -262,7 +262,7 @@ const ResultItem = React.forwardRef(
-
+ <> {ancestors.length > 0 && ancestors.map((ancestor: ActionImpl) => ( @@ -271,7 +271,7 @@ const ResultItem = React.forwardRef( ))} {action.name} -
+ {action.subtitle && ( {action.subtitle} )} diff --git a/src/components/Home.tsx b/src/components/Home.tsx index bf9453d..9423bc4 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -87,7 +87,7 @@ const Home = () => { }; return ( -
+ <> {location.pathname === PATHS.NEW_NOTE && ( )} @@ -133,7 +133,7 @@ const Home = () => {
- + ); }; diff --git a/src/components/NoteEntryView.tsx b/src/components/NoteEntryView.tsx index e2b0735..9abd9b7 100644 --- a/src/components/NoteEntryView.tsx +++ b/src/components/NoteEntryView.tsx @@ -141,7 +141,7 @@ const NoteEntryView = () => {
{editMode ? ( -
+ <> {'Body'} @@ -153,9 +153,9 @@ const NoteEntryView = () => { > {entry[0].content}

-
+ ) : ( -
+ <> {'Body'} @@ -165,7 +165,7 @@ const NoteEntryView = () => { > {entry[0].content}

-
+ )}