From c1ed417003dabe53e20ea3d46661a72f888be8a8 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Fri, 14 Feb 2025 17:26:11 -0500 Subject: [PATCH] remove prisma accelerate extension --- README.md | 2 +- app/contact/form.tsx | 7 +- app/privacy/page.tsx | 5 +- lib/helpers/prisma.ts | 15 ++- notes/github-rename-master.mdx | 4 +- notes/how-to-backup-linux-server.mdx | 2 - package.json | 13 +-- pnpm-lock.yaml | 159 ++++++++++++--------------- public/humans.txt | 1 + 9 files changed, 96 insertions(+), 112 deletions(-) diff --git a/README.md b/README.md index 5fb68205..6ca5176c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Licensed under CC-BY-4.0](https://img.shields.io/badge/license-CC--BY--4.0-fb7828?logo=creative-commons&logoColor=white)](LICENSE) [![GitHub repo size](https://img.shields.io/github/repo-size/jakejarvis/jarv.is?color=009cdf&label=repo%20size&logo=git&logoColor=white)](https://github.com/jakejarvis/jarv.is) -My humble abode on the World Wide Web, created and deployed using [Next.js](https://nextjs.org/), [Vercel](https://vercel.com/), [Prisma Postgres](https://www.prisma.io/postgres), [and more](https://jarv.is/humans.txt). +My humble abode on the World Wide Web, created and deployed using [Next.js](https://nextjs.org/), [Vercel](https://vercel.com/), [Neon Postgres](https://neon.tech/), [Prisma](https://www.prisma.io/postgres), [and more](https://jarv.is/humans.txt). I keep an ongoing list of [post ideas](https://github.com/jakejarvis/jarv.is/issues/1) and [coding to-dos](https://github.com/jakejarvis/jarv.is/issues/714) as issues in this repo. Outside contributions, improvements, and/or corrections are welcome too! diff --git a/app/contact/form.tsx b/app/contact/form.tsx index 56dd6303..2728b5f8 100644 --- a/app/contact/form.tsx +++ b/app/contact/form.tsx @@ -1,6 +1,6 @@ "use client"; -import { useState, useActionState } from "react"; +import { useActionState } from "react"; import TextareaAutosize from "react-textarea-autosize"; import Turnstile from "react-turnstile"; import clsx from "clsx"; @@ -18,7 +18,6 @@ const ContactForm = () => { Partial<{ success: boolean; message: string; payload: FormData }>, FormData >(sendMessage, {}); - const [turnstileToken, setTurnstileToken] = useState(""); return (
@@ -81,13 +80,11 @@ const ContactForm = () => { setTurnstileToken(token)} style={{ margin: "1em 0" }} theme={activeTheme === "dark" ? activeTheme : "light"} + fixedSize /> - -
{!formState.success && (