Skip to content

Commit e40b390

Browse files
committed
chore: fix compact default value
1 parent 616f306 commit e40b390

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

web/src/pages/Explore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const Explore = () => {
6565
<div className="flex flex-col justify-start items-start w-full max-w-full">
6666
<MemoFilter className="px-2 pb-2" />
6767
{sortedMemos.map((memo) => (
68-
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showCreator showVisibility showPinned />
68+
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showCreator showVisibility showPinned compact />
6969
))}
7070
{isRequesting ? (
7171
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">

web/src/pages/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Home = () => {
8989
<div className="flex flex-col justify-start items-start w-full max-w-full">
9090
<MemoFilter className="px-2 pb-2" />
9191
{sortedMemos.map((memo) => (
92-
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showVisibility showPinned />
92+
<MemoView key={`${memo.name}-${memo.updateTime}`} memo={memo} showVisibility showPinned compact />
9393
))}
9494
{isRequesting ? (
9595
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">

web/src/pages/MemoDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const MemoDetail = () => {
131131
</Button>
132132
</div>
133133
{comments.map((comment) => (
134-
<MemoView key={`${comment.name}-${comment.displayTime}`} memo={comment} showCreator />
134+
<MemoView key={`${comment.name}-${comment.displayTime}`} memo={comment} showCreator compact />
135135
))}
136136
</>
137137
)}

web/src/pages/Timeline.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ const Timeline = () => {
174174
className="!border w-full !border-gray-100 dark:!border-zinc-700"
175175
memo={memo}
176176
displayTimeFormat="time"
177+
compact
177178
/>
178179
))}
179180
</div>

web/src/pages/UserProfile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const UserProfile = () => {
133133
</div>
134134
<MemoFilter className="px-2 pb-3" />
135135
{sortedMemos.map((memo) => (
136-
<MemoView key={`${memo.name}-${memo.displayTime}`} memo={memo} showVisibility showPinned />
136+
<MemoView key={`${memo.name}-${memo.displayTime}`} memo={memo} showVisibility showPinned compact />
137137
))}
138138
{isRequesting ? (
139139
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">

0 commit comments

Comments
 (0)