π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Add type to registration failure func
jamesreaddbf58a9f09de
diff --git a/apps/frontend/src/components/auth/register.tsx b/apps/frontend/src/components/auth/register.tsxindex 0f3d3cb4b..cd10c7a89 100644--- a/apps/frontend/src/components/auth/register.tsx+++ b/apps/frontend/src/components/auth/register.tsx@@ -65,7 +65,7 @@ export function Register() {);}-function getHelpfulReasonForRegistrationFailure(httpCode) {+function getHelpfulReasonForRegistrationFailure(httpCode: int) {switch (httpCode) {case 400:return 'Email already exists';