Use react-bs icons, remove bootstrap-icons css
This commit is contained in:
parent
eb25ef3cda
commit
d768211457
24 changed files with 83 additions and 8297 deletions
|
|
@ -5,7 +5,7 @@ import {
|
|||
ErrorDetails as ApiErrorDetails,
|
||||
} from "../api-types";
|
||||
import { APIContext } from "../context";
|
||||
import { Error } from "../rqbit-web";
|
||||
import { ErrorWithLabel } from "../rqbit-web";
|
||||
import { FileSelectionModal } from "./FileSelectionModal";
|
||||
|
||||
export const UploadButton: React.FC<{
|
||||
|
|
@ -18,7 +18,8 @@ export const UploadButton: React.FC<{
|
|||
const [loading, setLoading] = useState(false);
|
||||
const [listTorrentResponse, setListTorrentResponse] =
|
||||
useState<AddTorrentResponse | null>(null);
|
||||
const [listTorrentError, setListTorrentError] = useState<Error | null>(null);
|
||||
const [listTorrentError, setListTorrentError] =
|
||||
useState<ErrorWithLabel | null>(null);
|
||||
const API = useContext(APIContext);
|
||||
|
||||
// Get the torrent file list if there's data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue