Skip to content

Commit

Permalink
fix: request service button in conversation page
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-eof committed May 13, 2023
1 parent 8e3c501 commit 52420de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/message/JobInfoSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import JobService from '../../service/JobService';
import { useParams } from 'react-router-dom';
import SendMessage from './SendMessage';
import Title from '../job/Header';
import UserJobItemPanel from '../job/panels/UserJobItemPanel';

export default function JobInfoSidebar() {
const { roomId } = useParams();
Expand Down Expand Up @@ -80,7 +81,7 @@ const SidebarContent = ({ job, jobPictureLink, ...rest }: SidebarProps) => {
{job?.author?.username}]
</Text>
<Text>{job?.description}</Text>
<Button colorScheme={'blue'}>Request service</Button>
{job && <UserJobItemPanel job={job} />}
</VStack>
</Center>
</Box>
Expand Down

0 comments on commit 52420de

Please sign in to comment.