This commit is contained in:
[witbox2018] 2023-04-07 16:02:14 +08:00
parent 130a946e6b
commit 2fdc83a240
3 changed files with 8 additions and 7 deletions

View File

@ -569,11 +569,11 @@ export function Chat(props: {
</div>
</div>
<PromptToast
{/* <PromptToast
showToast={!hitBottom}
showModal={showPromptModal}
setShowModal={setShowPromptModal}
/>
/> */}
</div>
<div

View File

@ -31,7 +31,8 @@ export function Loading(props: { noLogo?: boolean }) {
return (
<div className={styles["loading-content"]}>
{!props.noLogo && <BotIcon />}
<LoadingIcon />
{/* <LoadingIcon /> */}
<p>IMPROVE WITH AI.</p>
</div>
);
}

View File

@ -5,10 +5,10 @@ const RAW_CN_URL =
"https://raw.githubusercontent.com/PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json";
const CN_URL =
"https://cdn.jsdelivr.net/gh/PlexPt/awesome-chatgpt-prompts-zh@main/prompts-zh.json";
// const RAW_EN_URL =
// "https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv";
// const EN_URL =
// "https://cdn.jsdelivr.net/gh/f/awesome-chatgpt-prompts@main/prompts.csv";
const RAW_EN_URL =
"https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv";
const EN_URL =
"https://cdn.jsdelivr.net/gh/f/awesome-chatgpt-prompts@main/prompts.csv";
const FILE = "./public/prompts.json";
async function fetchCN() {