From c53d5fd693721da208a5ca885f283f618d7be47c Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Sat, 14 Mar 2026 00:00:04 +0100 Subject: [PATCH] fix: update Node.js version to 24 in CI workflow and import useMemo in App component --- .github/workflows/ci.yml | 2 +- src/App.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84c59cc..80e79bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'pnpm' - name: Install dependencies diff --git a/src/App.tsx b/src/App.tsx index a131a77..59cbbd2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from "react"; +import { useEffect, useState, useMemo } from "react"; import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import UmamiAnalytics from "@danielgtmn/umami-react"; import type { Experience, MiniProject, Project, RealWork } from "./types";