...
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
import { Center } from "@/components/Center";
|
import { Center } from "@/components/Center";
|
||||||
import { text_pair } from "../../../../generated/prisma/browser";
|
import { text_pair } from "../../../../generated/prisma/browser";
|
||||||
import Container from "@/components/cards/Container";
|
import Container from "@/components/cards/Container";
|
||||||
import { useEffect, useRef, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import LightButton from "@/components/buttons/LightButton";
|
import LightButton from "@/components/buttons/LightButton";
|
||||||
import { useAudioPlayer } from "@/hooks/useAudioPlayer";
|
import { useAudioPlayer } from "@/hooks/useAudioPlayer";
|
||||||
import { getTTSAudioUrl } from "@/lib/browser/tts";
|
import { getTTSAudioUrl } from "@/lib/browser/tts";
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const FolderSelector: React.FC<FolderSelectorProps> = ({
|
|||||||
getFoldersByOwner(username)
|
getFoldersByOwner(username)
|
||||||
.then(setFolders)
|
.then(setFolders)
|
||||||
.then(() => setLoading(false));
|
.then(() => setLoading(false));
|
||||||
}, []);
|
}, [username]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -50,11 +50,6 @@ export default function HomePage() {
|
|||||||
description={t("textSpeaker.description")}
|
description={t("textSpeaker.description")}
|
||||||
color="#578aad"
|
color="#578aad"
|
||||||
></LinkArea>
|
></LinkArea>
|
||||||
{/* <LinkArea
|
|
||||||
href="/word-board"
|
|
||||||
name="词墙"
|
|
||||||
description="将单词固定到一片区域,高效便捷地记忆单词"
|
|
||||||
color="#e9b353"></LinkArea> */}
|
|
||||||
<LinkArea
|
<LinkArea
|
||||||
href="/srt-player"
|
href="/srt-player"
|
||||||
name={t("srtPlayer.name")}
|
name={t("srtPlayer.name")}
|
||||||
|
|||||||
Reference in New Issue
Block a user