* 🌊 qBittorrent settings scaffold * 🔧 Added scaffold for the qBittorrent connection form * 🔧 Some refactoring * 🔧 Cleaned up folder structure * 🔧 Fixed broken paths * 🔧 Cleaned up Search and Import component hierarchy * 🔧 More path fixes * 🔧 Tooling changes * 📝 Qbittorrent form scaffold * ⬆️ Bumped @dnd-kit deps * 🧑🏼🔧 Fixed the hostname regex * 🏗️ Adding fields to the settings form * 🔧 Formatting and more layout changes * 🔧 Added Prowlarr settings items in JSON * 📝 Purified Card Component * 📝 Abstracted connection form into a component * 🏗️ Reorganized tabs * Migrating from Redux to RTK-query * ⬇️ Fetched qBittorrent settings * 🏗️ Trying out react-query * 🧩 Added react-query query to qBittorrentSettings page * 📝 qbittorrent form RU actions first draft * 🏗️ Added loading state check * 🏗 Added error check state * 🏗️ Refactored AirDCPP context using react-query * 🏗️ Refactoring AirDCPP Settings Form with react-query * 🔧 Removed context * 🔧 Removing context from AirDCPP settings page * 🔧 Fixed early init error on the store * 🐛 Debugging AirDCPP Settings Form page * 🧸 Zustand-ified AirDCPP Form * ❌ AirDCPP code cleaned up from App.tsx * ➕ Re-added yarn.lock
28 lines
715 B
TypeScript
28 lines
715 B
TypeScript
import React, { ReactElement } from "react";
|
|
import { ComicVineSearchForm } from "../ComicVineSearchForm";
|
|
import MatchResult from "./MatchResult";
|
|
import { isEmpty } from "lodash";
|
|
|
|
export const ComicVineMatchPanel = (comicVineData): ReactElement => {
|
|
const {
|
|
comicObjectId,
|
|
comicVineSearchQueryObject,
|
|
comicVineAPICallProgress,
|
|
comicVineSearchResults,
|
|
} = comicVineData.props;
|
|
return (
|
|
<>
|
|
<div className="search-results-container">
|
|
{!isEmpty(comicVineSearchResults) && (
|
|
<MatchResult
|
|
matchData={comicVineSearchResults}
|
|
comicObjectId={comicObjectId}
|
|
/>
|
|
)}
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default ComicVineMatchPanel;
|