From 932c1103f232e8fcac8a07018f790a9c7f22b94d Mon Sep 17 00:00:00 2001 From: sijinhui Date: Sun, 21 Jul 2024 08:37:28 +0800 Subject: [PATCH] merge --- .husky/pre-commit | 2 +- app/components/settings.tsx | 167 ++++++++++++++++++------------------ app/constant.ts | 20 ++--- app/store/config.ts | 4 +- app/store/prompt.ts | 3 +- public/prompts.json | 4 +- 6 files changed, 101 insertions(+), 99 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index c460d9c3f..d24fdfc60 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -#npx lint-staged +npx lint-staged diff --git a/app/components/settings.tsx b/app/components/settings.tsx index f42306750..dddc37dd3 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -1286,95 +1286,94 @@ export function Settings() { - -