mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-27 00:48:06 +08:00
Add a comment
This commit is contained in:
parent
9c2f4be17c
commit
3c118f0cf7
@ -45,6 +45,7 @@ export function ProfileSettingsTab({ client }: Props) {
|
||||
|
||||
useEffect(() => {
|
||||
const form = formRef.current!;
|
||||
// Auto-save when the user dismisses this component
|
||||
return () => {
|
||||
if (formChanged.current) {
|
||||
const data = new FormData(form);
|
||||
|
Loading…
Reference in New Issue
Block a user