Skip to content

Commit 66b6e97

Browse files
committed
commit cgnage on Calendar control code fixes
1 parent 84bdbfb commit 66b6e97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/controls/calendar/EventDetailsPopover.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { Card, RenderLabel, Stack } from '@nuvemerudita/react-controls';
1515

1616
import { IEvent } from './models/IEvents';
1717
import { css } from '@emotion/css';
18+
import strings from 'ControlStrings';
1819
import { useUtils } from './hooks/useUtils';
1920

2021
export interface IEventDetailsPopoverProps {
@@ -55,7 +56,7 @@ const RenderProperty: React.FC<{
5556
<Stack>
5657
<RenderLabel label={fieldLabel} icon={icon} />
5758
<Stack paddingLeft={PADDING_LEFT}>
58-
<Body1>{fieldValue} </Body1>
59+
<Body1>{fieldValue}</Body1>
5960
</Stack>
6061
</Stack>
6162
);
@@ -85,7 +86,7 @@ export const EventDetailsPopover: React.FunctionComponent<
8586
const RenderAttendees = React.useCallback((): JSX.Element => {
8687
return (
8788
<Stack>
88-
<RenderLabel label={'Attendees'} icon={'ph:users-three'} />
89+
<RenderLabel label={strings.CalendarControlAttendeessLabel} icon={'ph:users-three'} />
8990
<Stack paddingLeft={PADDING_LEFT}>
9091
<AvatarGroup layout="stack">
9192
{partitionedItems.inlineItems.map((id) => (

0 commit comments

Comments
 (0)