Skip to content

Commit

Permalink
Add fullstop
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinKato committed Jul 15, 2024
1 parent e282731 commit 1dbd5ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions front/app/components/HorizontalScroll/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const HorizontalScroll = ({ children, containerRole }: Props) => {
p="0px"
my="auto"
className="e2e-event-previews-scroll-left"
ariaLabel={formatMessage(messages.scrollLeft)}
ariaLabel={formatMessage(messages.scrollLeftLabel)}
/>
</Box>
<StyledContainer ref={containerRef} role={containerRole}>
Expand All @@ -125,7 +125,7 @@ const HorizontalScroll = ({ children, containerRole }: Props) => {
buttonStyle="text"
p="0px"
className="e2e-event-previews-scroll-right"
ariaLabel={formatMessage(messages.scrollRight)}
ariaLabel={formatMessage(messages.scrollRightLabel)}
/>
</Box>
</Box>
Expand Down
12 changes: 6 additions & 6 deletions front/app/components/HorizontalScroll/messages.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { defineMessages } from 'react-intl';

export default defineMessages({
scrollLeft: {
id: 'app.components.HorizontalScroll.scrollLeft',
defaultMessage: 'Scroll left',
scrollLeftLabel: {
id: 'app.components.HorizontalScroll.scrollLeftLabel',
defaultMessage: 'Scroll left.',
},
scrollRight: {
id: 'app.components.HorizontalScroll.scrollRight',
defaultMessage: 'Scroll right',
scrollRightLabel: {
id: 'app.components.HorizontalScroll.scrollRightLabel',
defaultMessage: 'Scroll right.',
},
});

0 comments on commit 1dbd5ed

Please sign in to comment.