Skip to content

Commit

Permalink
export useSummary as it is used by another component
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherJohnston committed Aug 8, 2024
1 parent 90ca9bd commit 31101fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/groups/[groupId]/activity/activity-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = {
dateStyle: DateTimeStyle
}

function useSummary(activity: Activity, participantName?: string) {
export function useSummary(activity: Activity, participantName?: string) {
const t = useTranslations('Activity')
const participant = participantName ?? t('someone')
const expense = activity.data ?? ''
Expand Down

0 comments on commit 31101fb

Please sign in to comment.