Skip to content

Commit

Permalink
💄 Move new document button to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn authored and pajowu committed Sep 28, 2023
1 parent 24f313c commit 075c761
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/user_home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ export function UserHomePage() {
'gap-6',
)}
>
<NewDocumentCard />
{data?.map((doc) => (
<DocumentCard key={doc.id} doc={doc} mutate={mutate} />
))}

<NewDocumentCard />
</ul>
</AppContainer>
);
Expand Down

0 comments on commit 075c761

Please sign in to comment.