This commit is contained in:
2025-11-22 09:24:08 +08:00
parent e8f5ce9751
commit 7bf3fd9b17
3 changed files with 2 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
import { Center } from "@/components/Center";
import { text_pair } from "../../../../generated/prisma/browser";
import Container from "@/components/cards/Container";
import { useEffect, useRef, useState } from "react";
import { useEffect, useState } from "react";
import LightButton from "@/components/buttons/LightButton";
import { useAudioPlayer } from "@/hooks/useAudioPlayer";
import { getTTSAudioUrl } from "@/lib/browser/tts";

View File

@@ -23,7 +23,7 @@ const FolderSelector: React.FC<FolderSelectorProps> = ({
getFoldersByOwner(username)
.then(setFolders)
.then(() => setLoading(false));
}, []);
}, [username]);
return (
<div

View File

@@ -50,11 +50,6 @@ export default function HomePage() {
description={t("textSpeaker.description")}
color="#578aad"
></LinkArea>
{/* <LinkArea
href="/word-board"
name="词墙"
description="将单词固定到一片区域,高效便捷地记忆单词"
color="#e9b353"></LinkArea> */}
<LinkArea
href="/srt-player"
name={t("srtPlayer.name")}