Skip to content

Commit

Permalink
add addVisitDocumentButton inside visitHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirabbasJ committed Feb 29, 2024
1 parent 16e2df6 commit 018e50c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { CalendarIcon, FilePlusIcon } from '@camp/icons';
import { errorMessages, messages } from '@camp/messages';
import { Group, Stack, Text } from '@mantine/core';

import { AddHouseholderVisitButton } from '../../AddHouseholderVisit';

interface HeaderFieldProps {
label: string;
children: React.ReactNode;
Expand Down Expand Up @@ -53,6 +55,7 @@ export const VisitDetailHeader = ({ id }: Props) => {
<HeaderField icon={<FilePlusIcon />} label="توضیحات بازدید">
{visit!.description}
</HeaderField>
<AddHouseholderVisitButton householdId={id} />
</Stack>
</Stack>
);
Expand Down

0 comments on commit 018e50c

Please sign in to comment.