mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 02:08:47 +00:00
delete topic
This commit is contained in:
parent
97998a8f09
commit
b20408c144
@ -29,7 +29,7 @@ class user extends Component {
|
|||||||
deleteTopic: null
|
deleteTopic: null
|
||||||
};
|
};
|
||||||
|
|
||||||
handleDelete = () => {
|
handleDelete = event => {
|
||||||
// axios
|
// axios
|
||||||
// .delete(`/deleteTopic/${topic}`)
|
// .delete(`/deleteTopic/${topic}`)
|
||||||
// .then(
|
// .then(
|
||||||
@ -40,7 +40,7 @@ class user extends Component {
|
|||||||
// .catch(function (err) {
|
// .catch(function (err) {
|
||||||
// console.log(err);
|
// console.log(err);
|
||||||
// });
|
// });
|
||||||
alert(`Delete topic: ${this.state.deleteTopic}!`);
|
console.log(event);
|
||||||
};
|
};
|
||||||
|
|
||||||
handleAddCircle = () => {
|
handleAddCircle = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user