mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-13 09:45:26 +00:00
no log: Remove debug code
This commit is contained in:
parent
875eb013cc
commit
cb1ea4f180
1 changed files with 3 additions and 20 deletions
|
@ -55,25 +55,8 @@ export const ManualSearchModal: FunctionComponent<Props & BaseModalProps> = (
|
|||
) => {
|
||||
const { onSelect, onDownload, ...modal } = props;
|
||||
|
||||
const [result, setResult] = useState<SearchResultType[]>([
|
||||
{
|
||||
matches: [],
|
||||
dont_matches: [],
|
||||
language: "zh",
|
||||
forced: "True",
|
||||
hearing_impaired: "True",
|
||||
orig_score: 100,
|
||||
provider: "assrt",
|
||||
release_info: [
|
||||
"ladbgklsafbsbfliksbfiasvbgsdbfashfsdgvfvasblgvbsdlfagviugas",
|
||||
"ailuysdbliaubfhysvaugsdhfahjsdfhjasoi;fhsdfb",
|
||||
],
|
||||
score: 99,
|
||||
score_without_hash: 99,
|
||||
subtitle: {},
|
||||
},
|
||||
]);
|
||||
const [searchState, setSearchState] = useState(SearchState.Finished);
|
||||
const [result, setResult] = useState<SearchResultType[]>([]);
|
||||
const [searchState, setSearchState] = useState(SearchState.Ready);
|
||||
|
||||
const item = usePayload<SupportType>(modal.modalKey);
|
||||
|
||||
|
@ -93,7 +76,7 @@ export const ManualSearchModal: FunctionComponent<Props & BaseModalProps> = (
|
|||
|
||||
useEffect(() => {
|
||||
if (item !== null) {
|
||||
// setSearchState(SearchState.Ready);
|
||||
setSearchState(SearchState.Ready);
|
||||
}
|
||||
}, [item]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue