resolv conflicts
This commit is contained in:
parent
020fe30314
commit
7aff508092
@ -24,20 +24,14 @@ export default function index({userName}: any) {
|
|||||||
console.log(editorRef.current.getContent());
|
console.log(editorRef.current.getContent());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const handleChange = (event: SelectChangeEvent) => {
|
const handleChange = (event: SelectChangeEvent) => {
|
||||||
setText(event.target.value);
|
setText(event.target.value);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
async function handleRegisterAboutUs() {
|
async function handleRegisterAboutUs() {
|
||||||
await api.post('/aboutUs', {
|
await api.post('/aboutUs', {
|
||||||
about: editorRef.current.value
|
about: editorRef.current.value
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
||||||
}).catch(res => console.log(res))
|
}).catch(res => console.log(res))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user