From 12eda2fab55acd51e5a244adb5aff82d5548a9a0 Mon Sep 17 00:00:00 2001 From: hyochan Date: Sun, 8 Oct 2023 21:29:30 +0900 Subject: [PATCH] ci: bun --- .github/workflows/ci.yml | 2 +- app/[lang]/(home)/Hero/StatsUrlCards.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0256a7a..eb25b85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: run: cp .env.sample .env.local - name: Install modules - run: bun + run: bun install - name: Check lint run: bun lint diff --git a/app/[lang]/(home)/Hero/StatsUrlCards.tsx b/app/[lang]/(home)/Hero/StatsUrlCards.tsx index b1ebe79..404e80a 100644 --- a/app/[lang]/(home)/Hero/StatsUrlCards.tsx +++ b/app/[lang]/(home)/Hero/StatsUrlCards.tsx @@ -1,6 +1,5 @@ 'use client'; -import type {ReactElement} from 'react'; import {CopyToClipboard} from 'react-copy-to-clipboard'; import {useSnackbar} from 'react-simple-snackbar'; import {track} from '@amplitude/analytics-browser'; @@ -27,7 +26,7 @@ export default function StatsUrlCard({ login, svgStatsURL, svgTrophiesURL, -}: Props): ReactElement { +}: Props): JSX.Element { const router = useRouter(); const [openSnackbar] = useSnackbar(); const {login: authLogin} = useAuthContext(); @@ -43,6 +42,7 @@ export default function StatsUrlCard({
{/* Stats URL */} + {/* @ts-ignore */}