This commit is contained in:
2020-06-08 19:54:20 +02:00
parent 3402c7fa3b
commit 46be02f912
3 changed files with 5 additions and 14 deletions

View File

@ -9,19 +9,6 @@ class NewTagPopup extends React.Component {
this.props = props;
}
componentDidMount() {
const updateRequest = new FormData();
updateRequest.append('action', 'getAllTags');
fetch('/api/videoload.php', {method: 'POST', body: updateRequest})
.then((response) => response.json())
.then((result) => {
this.setState({
items: result
});
});
}
render() {
return (
<>