From bacb9b8e5c5d1b6cf047cb911a103d22f6e89a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=B6=A3=E4=BF=9D=E7=BD=97?= Date: Tue, 9 Jul 2024 11:57:11 +0800 Subject: [PATCH] Chore(Deps): Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 Remix 和 React 版本尝试修复 --- app/components/common/pagination.tsx | 2 +- app/root.tsx | 2 - app/routes/note._index.tsx | 6 +- package.json | 18 +- pnpm-lock.yaml | 8390 ++++++++++++++------------ 5 files changed, 4663 insertions(+), 3755 deletions(-) diff --git a/app/components/common/pagination.tsx b/app/components/common/pagination.tsx index c25bd84..b714733 100644 --- a/app/components/common/pagination.tsx +++ b/app/components/common/pagination.tsx @@ -51,7 +51,7 @@ function Pagination({ current = 3, total, size, onClick }: PaginationProps) {
{arr.map((item, index) => { if (typeof item === "string") { - return {item} + return {item} } return ( diff --git a/app/root.tsx b/app/root.tsx index b96b340..3611388 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -1,7 +1,6 @@ import type { LinksFunction } from "@remix-run/node"; import { Links, - LiveReload, Meta, Outlet, Scripts, @@ -76,7 +75,6 @@ export default function App() {