enhancement(lint): Fix lint errors for src/components/Projects/index.tsx

Co-authored-by: NeonGamerBot-QK <neon@saahild.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2025-06-18 00:33:02 +00:00 committed by GitHub
parent 05b3f980e6
commit 2c58f46136
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,10 +57,10 @@ export default function Projects() {
const fetchData = () => { const fetchData = () => {
return Promise.all([ return Promise.all([
fetch( fetch(
`https://api.github.com/users/NeonGamerBot-QK/repos?per_page=100` `https://api.github.com/users/NeonGamerBot-QK/repos?per_page=100`,
).then((response) => response.json()), ).then((response) => response.json()),
fetch( fetch(
`https://api.github.com/users/NeonGamerBot-QK/repos?per_page=100?page=2` `https://api.github.com/users/NeonGamerBot-QK/repos?per_page=100?page=2`,
).then((response) => response.json()), ).then((response) => response.json()),
]).then((data) => { ]).then((data) => {
if (process.env.NODE_ENV !== "production") console.log(data[0], data[1]); if (process.env.NODE_ENV !== "production") console.log(data[0], data[1]);
@ -137,7 +137,7 @@ export default function Projects() {
{d.topics {d.topics
.filter( .filter(
(e: string) => (e: string) =>
!e.includes("github-include-on-site") !e.includes("github-include-on-site"),
) )
.map((topic: string, i: number) => { .map((topic: string, i: number) => {
return ( return (