aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Invite.tsx
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-07-26 19:58:46 -0600
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-07-27 15:14:11 +0530
commit998d229d2978ea4418cb5dab3390b8901f0c2cb3 (patch)
tree3f0932493d4e6cdd24d50fb407c5eda913b3a360 /src/components/auth/Invite.tsx
parent6.4.1-nightly.13 [skip ci] (diff)
downloadferdium-app-998d229d2978ea4418cb5dab3390b8901f0c2cb3.tar.gz
ferdium-app-998d229d2978ea4418cb5dab3390b8901f0c2cb3.tar.zst
ferdium-app-998d229d2978ea4418cb5dab3390b8901f0c2cb3.zip
chore: upgrade mobx-react-form to latest
- upgrade mobx-react-form from v3 to v6 - remove stub mobx-react-form.d.ts since the dependency is written in TS now - remove as any cast for new Form invocation in invite.tsx - reuse Error component in Radio.tsx to get validation error message in red - use FieldInterface type for field property instead of typeof Field in Radio.tsx
Diffstat (limited to 'src/components/auth/Invite.tsx')
-rw-r--r--src/components/auth/Invite.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/auth/Invite.tsx b/src/components/auth/Invite.tsx
index 4f2cb19fe..0d39d861a 100644
--- a/src/components/auth/Invite.tsx
+++ b/src/components/auth/Invite.tsx
@@ -86,8 +86,7 @@ class Invite extends Component<IProps, IState> {
86 }, 86 },
87 }, 87 },
88 }), 88 }),
89 // TODO: [TS DEBT] need to fix this type once mobx-react-form is updated to next version 89 ],
90 ] as any,
91 }, 90 },
92 }); 91 });
93 } 92 }