Skip to content

Commit 32d8e93

Browse files
committed
fix: prettify
1 parent 95a5d7d commit 32d8e93

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
44
import { faCheck } from '@fortawesome/free-solid-svg-icons';
55
import type { NextLinkType } from 'components/link/link';
66

7-
export interface DropdownMenuItemProps
8-
extends PropsWithChildren<Omit<NextLinkType, 'href'>> {
7+
export interface DropdownMenuItemProps extends PropsWithChildren<
8+
Omit<NextLinkType, 'href'>
9+
> {
910
selected?: boolean;
1011
value: string;
1112
href?: string;

components/endless-scrolling-list/endless-scrolling-list.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import EndlessScrollingItem from 'components/endless-scrolling-item/endless-scro
77
import { useTranslations } from 'use-intl';
88
import Loader from '../loader/loader';
99

10-
export interface EndlessScrollingListProps<T>
11-
extends Omit<UseEndlessScrollingProps<T>, 'lastId'> {
10+
export interface EndlessScrollingListProps<T> extends Omit<
11+
UseEndlessScrollingProps<T>,
12+
'lastId'
13+
> {
1214
idField: keyof T;
1315
noEntryAvailableTranslationKey: string;
1416
className?: string;

components/project/project.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ const Project = ({
9494
</div>
9595
<p className={styles.description}>{description}</p>
9696
<div className="mt-auto flex flex-wrap gap-1">
97-
{keywords?.map((keyword) => <Badge key={keyword}>{keyword}</Badge>)}
97+
{keywords?.map((keyword) => (
98+
<Badge key={keyword}>{keyword}</Badge>
99+
))}
98100
</div>
99101
</div>
100102
);

components/skills/skills.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const Skills = ({ title, skills }: SkillsProps) => {
1111
<div className="flex flex-col gap-4" data-testid="skills">
1212
<h2 className="text-xl">{title}</h2>
1313
<div className="flex flex-row flex-wrap gap-6">
14-
{skills?.map((skill) => <SkillIcon key={skill.name} {...skill} />)}
14+
{skills?.map((skill) => (
15+
<SkillIcon key={skill.name} {...skill} />
16+
))}
1517
</div>
1618
</div>
1719
);

0 commit comments

Comments
 (0)