Refactor LoraCard.js code

This commit is contained in:
Will Miao
2025-03-07 09:11:00 +08:00
parent 5c917b88c7
commit 53ab6d8ab4
3 changed files with 474 additions and 473 deletions

View File

@@ -3,7 +3,8 @@ import { LoadingManager } from './managers/LoadingManager.js';
import { modalManager } from './managers/ModalManager.js';
import { updateService } from './managers/UpdateService.js';
import { state } from './state/index.js';
import { showLoraModal, toggleShowcase, scrollToTop } from './components/LoraCard.js';
import { showLoraModal } from './components/LoraModal.js';
import { toggleShowcase, scrollToTop } from './components/LoraModal.js';
import { loadMoreLoras, fetchCivitai, deleteModel, replacePreview, resetAndReload, refreshLoras } from './api/loraApi.js';
import {
showToast,