mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
cleanup
This commit is contained in:
1 parent
0ac3c5b51c
commit
bfe5a507da
2 files changed
-4
No files matched your search
@@ -47,8 +47,6 @@ export function AppWrapper(props: Props) {
|
||||
|
||||
// TODO: Handle empty category list
|
||||
useEffect(() => {
|
||||
console.log("========== AppWrapper.useEffect() ==========")
|
||||
|
||||
// Category lookup by token
|
||||
let categoriesByTokenMap = new Map();
|
||||
allTtsCategories.forEach(category => {
|
||||
|
||||
@@ -72,7 +72,6 @@ function TtsModelListFc(props: Props) {
|
||||
|
||||
const listModels = useCallback(async () => {
|
||||
if (ttsModelsLoaded) {
|
||||
console.log('models already queried');
|
||||
return; // Already queried.
|
||||
}
|
||||
const models = await ListTtsModels();
|
||||
@@ -87,7 +86,6 @@ function TtsModelListFc(props: Props) {
|
||||
|
||||
const listTtsCategories = useCallback(async () => {
|
||||
if (ttsCategoriesLoaded) {
|
||||
console.log('categories already queried');
|
||||
return; // Already queried.
|
||||
}
|
||||
const categoryList = await ListTtsCategories();
|
||||
|
||||
Reference in new issue
Block a user