From fecc60eb36ac02b64b283fa885d2eef9be703a73 Mon Sep 17 00:00:00 2001 From: Lee Robinson Date: Tue, 6 Jun 2023 18:36:44 -0700 Subject: [PATCH] Update dependencies and fix TS errors. (#1041) --- .vscode/settings.json | 2 +- app/[page]/layout.tsx | 1 - app/layout.tsx | 1 - app/page.tsx | 3 - app/product/[handle]/page.tsx | 3 - app/search/layout.tsx | 1 - components/layout/navbar/index.tsx | 1 - components/layout/search/collections.tsx | 1 - package.json | 24 +- pnpm-lock.yaml | 534 ++++++++++++----------- 10 files changed, 281 insertions(+), 290 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3ffeeffd70..3fbb4ab257 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "typescript.tsdk": "node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib", + "typescript.tsdk": "node_modules/typescript/lib", "typescript.enablePromptUseWorkspaceTsdk": true, "editor.codeActionsOnSave": { "source.fixAll": true, diff --git a/app/[page]/layout.tsx b/app/[page]/layout.tsx index 3339a5b1ad..e6d2b7dce7 100644 --- a/app/[page]/layout.tsx +++ b/app/[page]/layout.tsx @@ -9,7 +9,6 @@ export default function Layout({ children }: { children: React.ReactNode }) { {children} - {/* @ts-expect-error Server Component */}