...
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -23,7 +23,7 @@ const FolderSelector: React.FC<FolderSelectorProps> = ({
|
||||
getFoldersByOwner(username)
|
||||
.then(setFolders)
|
||||
.then(() => setLoading(false));
|
||||
}, []);
|
||||
}, [username]);
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
@@ -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")}
|
||||
|
||||
Reference in New Issue
Block a user