Skip to content

Commit 80609d3

Browse files
fix: lint error
1 parent a074ea4 commit 80609d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/intro/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ export default function Intro() {
55
<article className="flex flex-col mx-auto">
66
<h1 className="text-2xl leading-loose">👋 Hi, here is</h1>
77
<h3 className="mt-9 text-6xl font-semibold leading-snug">
8-
Lei Wu's Blog.
8+
Lei Wu&apos;s Blog.
99
</h3>
1010
<h3 className="mb-9 text-6xl font-semibold leading-snug text-gray-300">
1111
I build things for the web.
1212
</h3>
1313
<p className="text-xl leading-loose">
14-
I'm a Front-End Engineer from China.
14+
I&apos;m a Front-End Engineer from China.
1515
</p>
1616
<p className="text-xl leading-loose">
1717
Previously, I worked in Ant Group and ByteDance.

src/components/skill/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default function Skill({ skills }) {
1717
: content;
1818

1919
const onMouseEvent = useCallback((target) => {
20-
setContent(
21-
content.map((item) =>
20+
setContent((c) =>
21+
c.map((item) =>
2222
target.name === item.name ? { ...item, show: !target.show } : item
2323
)
2424
);

0 commit comments

Comments
 (0)