mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 07:07:22 +08:00
move code to utils/file
This commit is contained in:
@@ -6,9 +6,10 @@ import locales from "@/app/locales";
|
||||
import { nanoid } from "nanoid";
|
||||
import { useIndexedDB } from "react-indexed-db-hook";
|
||||
import { StoreKey } from "@/app/constant";
|
||||
import { SdDbInit, useSdStore } from "@/app/store/sd";
|
||||
import { useSdStore } from "@/app/store/sd";
|
||||
import { FileDbInit } from "@/app/utils/file";
|
||||
|
||||
SdDbInit();
|
||||
FileDbInit();
|
||||
|
||||
const sdCommonParams = (model: string, data: any) => {
|
||||
return [
|
||||
|
Reference in New Issue
Block a user