Skip to content

Commit

Permalink
[Glitch] Rewrite <Check /> as FC
Browse files Browse the repository at this point in the history
Port 6fdbee2 to glitch-soc

Signed-off-by: Claire <[email protected]>
  • Loading branch information
taichi221228 authored and ClearlyClaire committed Dec 2, 2023
1 parent 10bcec2 commit ba5ea9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Check = () => (
export const Check: React.FC = () => (
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'>

Check failure on line 2 in app/javascript/flavours/glitch/components/check.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `·xmlns='http://www.w3.org/2000/svg'·viewBox='0·0·20·20'·fill='currentColor'` with `⏎····xmlns='http://www.w3.org/2000/svg'⏎····viewBox='0·0·20·20'⏎····fill='currentColor'⏎··`
<path fillRule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clipRule='evenodd' />

Check failure on line 3 in app/javascript/flavours/glitch/components/check.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `·fillRule='evenodd'·d='M16.704·4.153a.75.75·0·01.143·1.052l-8·10.5a.75.75·0·01-1.127.075l-4.5-4.5a.75.75·0·011.06-1.06l3.894·3.893·7.48-9.817a.75.75·0·011.05-.143z'·clipRule='evenodd'` with `⏎······fillRule='evenodd'⏎······d='M16.704·4.153a.75.75·0·01.143·1.052l-8·10.5a.75.75·0·01-1.127.075l-4.5-4.5a.75.75·0·011.06-1.06l3.894·3.893·7.48-9.817a.75.75·0·011.05-.143z'⏎······clipRule='evenodd'⏎···`
</svg>
Expand Down

0 comments on commit ba5ea9a

Please sign in to comment.