Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo Auffeuvre committed Mar 27, 2024
1 parent 7ce928c commit 0925170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion canopeum_frontend/src/components/CreatePostWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const CreatePostWidget = (props: { readonly site: SiteSocial }) => {
</button>
</div>
<div className='position-relative'>
<div className='position-absolute top-0 left-0 m-3 d-flex gap-3'>
<div className='position-absolute top-0 left-0 m-3 d-flex gap-3 fs-3'>
<span className='material-symbols-outlined'>mood</span>
<span className='material-symbols-outlined'>add_a_photo</span>
<span className='material-symbols-outlined'>smart_display</span>
Expand Down
4 changes: 2 additions & 2 deletions canopeum_frontend/src/pages/MapSite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ const MapSite = () => {
</div>
</div>
<div className='col-8'>
<div className='rounded-2 px-3 py-2 d-flex flex-column gap-2'>
<div className='rounded-2 d-flex flex-column gap-2'>
{site && (
<>
<CreatePostWidget site={site} />
<div className='d-flex flex-column gap-2'>
{site.posts.map((post: Post) => <PostWidget key={post.id} post={post} />)}
{site.posts?.map((post: Post) => <PostWidget key={post.id} post={post} />)}

Check warning on line 68 in canopeum_frontend/src/pages/MapSite.tsx

View workflow job for this annotation

GitHub Actions / Lint

Unsafe call of an `any` typed value

Check warning on line 68 in canopeum_frontend/src/pages/MapSite.tsx

View workflow job for this annotation

GitHub Actions / Lint

Unsafe member access .map on an `any` value
</div>
</>
)}
Expand Down

0 comments on commit 0925170

Please sign in to comment.