⬆️ Bumped @dnd-kit deps
This commit is contained in:
@@ -5,28 +5,30 @@ import { getQBitTorrentClientInfo } from "../../../actions/settings.actions";
|
||||
|
||||
export const QbittorrentConnectionForm = (): ReactElement => {
|
||||
const dispatch = useDispatch();
|
||||
const torrents = useSelector((state: RootState) => state.settings.torrentsList)
|
||||
const torrents = useSelector(
|
||||
(state: RootState) => state.settings.torrentsList,
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(getQBitTorrentClientInfo());
|
||||
}, [])
|
||||
const handleSubmit = () => {}
|
||||
return (<>
|
||||
<pre> {JSON.stringify(torrents, null, 4)} </pre>
|
||||
|
||||
<Form
|
||||
onSubmit={handleSubmit}
|
||||
// validate={}
|
||||
/* initialValues={} */
|
||||
render={({ handleSubmit }) => (
|
||||
<form onSubmit={handleSubmit}>
|
||||
<h2>Configure Qbittorrent</h2>
|
||||
|
||||
</form>
|
||||
)}
|
||||
/>
|
||||
|
||||
</>);
|
||||
dispatch(getQBitTorrentClientInfo());
|
||||
}, []);
|
||||
const handleSubmit = () => {};
|
||||
return (
|
||||
<>
|
||||
<pre> {JSON.stringify(torrents, null, 4)} </pre>
|
||||
|
||||
<Form
|
||||
onSubmit={handleSubmit}
|
||||
// validate={}
|
||||
/* initialValues={} */
|
||||
render={({ handleSubmit }) => (
|
||||
<form onSubmit={handleSubmit}>
|
||||
<h2>Configure Qbittorrent</h2>
|
||||
</form>
|
||||
)}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default QbittorrentConnectionForm;
|
||||
|
||||
Reference in New Issue
Block a user