From: Daniel Karbach <daniel.karbach@localhorst.tv>
Date: Fri, 25 Mar 2022 12:08:44 +0000 (+0100)
Subject: fix some prop types
X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=2beac530a8a4a9e5800b197a8fdd42f6a1ffba9d;p=alttp.git

fix some prop types
---

diff --git a/resources/js/components/users/EditNicknameForm.js b/resources/js/components/users/EditNicknameForm.js
index 3f6a5bb..56176f2 100644
--- a/resources/js/components/users/EditNicknameForm.js
+++ b/resources/js/components/users/EditNicknameForm.js
@@ -66,7 +66,7 @@ EditStreamLinkForm.propTypes = {
 		nickname: PropTypes.bool,
 	}),
 	user: PropTypes.shape({
-		username: PropTypes.bool,
+		username: PropTypes.string,
 	}),
 	values: PropTypes.shape({
 		nickname: PropTypes.string,
@@ -74,7 +74,7 @@ EditStreamLinkForm.propTypes = {
 };
 
 export default withFormik({
-	displayName: 'SeedForm',
+	displayName: 'NicknameForm',
 	enableReinitialize: true,
 	handleSubmit: async (values, actions) => {
 		const { user_id, nickname } = values;
diff --git a/resources/js/components/users/EditStreamLinkForm.js b/resources/js/components/users/EditStreamLinkForm.js
index 78219ac..0bc60a5 100644
--- a/resources/js/components/users/EditStreamLinkForm.js
+++ b/resources/js/components/users/EditStreamLinkForm.js
@@ -70,7 +70,7 @@ EditStreamLinkForm.propTypes = {
 };
 
 export default withFormik({
-	displayName: 'SeedForm',
+	displayName: 'StreamLinkForm',
 	enableReinitialize: true,
 	handleSubmit: async (values, actions) => {
 		const { user_id, stream_link } = values;