mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Webatrice updates (#4366)
This commit is contained in:
parent
8db9475804
commit
0d05f9097d
14 changed files with 5517 additions and 20090 deletions
|
|
@ -4,6 +4,7 @@ import { connect } from "react-redux";
|
|||
import { Form, reduxForm } from "redux-form"
|
||||
|
||||
import { InputAction } from 'components';
|
||||
import { FormKey } from 'types';
|
||||
|
||||
const AddToBuddies = ({ handleSubmit }) => (
|
||||
<Form onSubmit={handleSubmit}>
|
||||
|
|
@ -12,7 +13,7 @@ const AddToBuddies = ({ handleSubmit }) => (
|
|||
);
|
||||
|
||||
const propsMap = {
|
||||
form: "addToBuddies"
|
||||
form: FormKey.ADD_TO_BUDDIES
|
||||
};
|
||||
|
||||
export default connect()(reduxForm(propsMap)(AddToBuddies));
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { connect } from "react-redux";
|
|||
import { Form, reduxForm } from "redux-form"
|
||||
|
||||
import { InputAction } from 'components';
|
||||
import { FormKey } from 'types';
|
||||
|
||||
const AddToIgnore = ({ handleSubmit }) => (
|
||||
<Form onSubmit={handleSubmit}>
|
||||
|
|
@ -12,7 +13,7 @@ const AddToIgnore = ({ handleSubmit }) => (
|
|||
);
|
||||
|
||||
const propsMap = {
|
||||
form: "addToIgnore"
|
||||
form: FormKey.ADD_TO_IGNORE,
|
||||
};
|
||||
|
||||
export default connect()(reduxForm(propsMap)(AddToIgnore));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue