Skip to content

Commit

Permalink
chore(front): apply prettier recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerri-Cofannos committed Aug 23, 2023
1 parent 3aae739 commit 253915e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion front/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"error",
{ "max": 75, "skipBlankLines": true, "skipComments": true }
],
"complexity": ["error", 6]
"complexity": ["error", 6],
"prettier/prettier": ["error", {"tabWidth": 4}]
}
}
1 change: 0 additions & 1 deletion front/.prettierrc

This file was deleted.

3 changes: 1 addition & 2 deletions front/src/app/LogsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export default function LogsTable({ logs }: Props) {

return (
<CardAtom>
<TextInput placeholder="Search" icon={<SearchIcon />}
/>
<TextInput placeholder="Search" icon={<SearchIcon />} />
<table className="table-fixed w-full">
<thead>
<tr className="bg-gray-100">
Expand Down
3 changes: 1 addition & 2 deletions front/src/atomic/atoms/SearchIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export const SearchIcon = () => {
width="512px"
height="512px"
>
<path
d="M55.146,51.887L41.588,37.786c3.486-4.144,5.396-9.358,5.396-14.786c0-12.682-10.318-23-23-23s-23,10.318-23,23 s10.318,23,23,23c4.761,0,9.298-1.436,13.177-4.162l13.661,14.208c0.571,0.593,1.339,0.92,2.162,0.92 c0.779,0,1.518-0.297,2.079-0.837C56.255,54.982,56.293,53.08,55.146,51.887z M23.984,6c9.374,0,17,7.626,17,17s-7.626,17-17,17 s-17-7.626-17-17S14.61,6,23.984,6z" />
<path d="M55.146,51.887L41.588,37.786c3.486-4.144,5.396-9.358,5.396-14.786c0-12.682-10.318-23-23-23s-23,10.318-23,23 s10.318,23,23,23c4.761,0,9.298-1.436,13.177-4.162l13.661,14.208c0.571,0.593,1.339,0.92,2.162,0.92 c0.779,0,1.518-0.297,2.079-0.837C56.255,54.982,56.293,53.08,55.146,51.887z M23.984,6c9.374,0,17,7.626,17,17s-7.626,17-17,17 s-17-7.626-17-17S14.61,6,23.984,6z" />
</svg>
);
};

0 comments on commit 253915e

Please sign in to comment.