Skip to content

Commit 46b799c

Browse files
committed
fix: kateX format, closes #156
Signed-off-by: Innei <[email protected]>
1 parent fb080e5 commit 46b799c

File tree

12 files changed

+381
-332
lines changed

12 files changed

+381
-332
lines changed

src/app/api/gh/[...all]/route.ts

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export const GET = async (req: NextRequest) => {
2424
)
2525
headers.set('Authorization', `Bearer ${process.env.GH_TOKEN}`)
2626

27+
if (!process.env.GH_TOKEN) {
28+
return NextResponse.error()
29+
}
30+
2731
const response = await fetch(url, {
2832
headers,
2933
})

src/components/ui/link-card/LinkCard.module.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
position: relative;
2626
display: block;
2727
min-width: 0;
28+
margin-right: 0.55rem;
2829
}
2930

3031
.title {
@@ -57,7 +58,7 @@
5758
height: 3rem;
5859
width: 3rem;
5960
margin-left: 0.1rem;
60-
border-radius: 0.041rem;
61+
border-radius: 0.41rem;
6162
}
6263

6364
.skeleton {

0 commit comments

Comments
 (0)