Skip to content

Commit 64e3f63

Browse files
committed
Fix build errors/warning
1 parent 778a330 commit 64e3f63

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/(authenticated)/profile/connections/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default async function Connections() {
2323
1. Scan the QR code of another user. <br />
2424
2. Visit their profile page.
2525
<br />
26-
3. Click on the "Connect" button.
26+
3. Click on the &quot;Connect&quot; button.
2727
<br />
2828
</p>
2929
)}

src/components/user/CurriculumVitae.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ export default function CurriculumVitae({
2929
async function getCV() {
3030
const cvInfo = await UserService.getCVInfo(
3131
session.cannonToken,
32-
currentUser ? undefined : user.id,
32+
currentUser ? undefined : user.id
3333
);
3434
setFile(
3535
cvInfo && Object.keys(cvInfo).length > 0
3636
? (cvInfo as SINFOFile)
37-
: null,
37+
: null
3838
);
3939
if (loading) setLoading(false);
4040
},
41-
[session.cannonToken, user.id, currentUser, loading],
41+
[session.cannonToken, user.id, currentUser, loading]
4242
);
4343

4444
const getDownloadURL = useMemo(
@@ -47,14 +47,14 @@ export default function CurriculumVitae({
4747
if (file) {
4848
const url = await UserService.getDownloadURL(
4949
session.cannonToken,
50-
currentUser ? undefined : file.id,
50+
currentUser ? undefined : file.id
5151
);
5252
setDownloadURL(url);
5353
} else {
5454
setDownloadURL(null);
5555
}
5656
},
57-
[session.cannonToken, file],
57+
[session.cannonToken, currentUser, file]
5858
);
5959

6060
useEffect(() => {

0 commit comments

Comments
 (0)