nickname: PropTypes.bool,
}),
user: PropTypes.shape({
- username: PropTypes.bool,
+ username: PropTypes.string,
}),
values: PropTypes.shape({
nickname: PropTypes.string,
};
export default withFormik({
- displayName: 'SeedForm',
+ displayName: 'NicknameForm',
enableReinitialize: true,
handleSubmit: async (values, actions) => {
const { user_id, nickname } = values;
};
export default withFormik({
- displayName: 'SeedForm',
+ displayName: 'StreamLinkForm',
enableReinitialize: true,
handleSubmit: async (values, actions) => {
const { user_id, stream_link } = values;