more buxfix
This commit is contained in:
@@ -52,6 +52,8 @@ const AddModal = ({onExit}) => {
|
||||
});
|
||||
|
||||
onExit();
|
||||
} else if(name != '' && link != '' && tag != '') {
|
||||
alert('Please make sure the link is valid.\n\n(i.e. starts with "http"/"https")');
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import '../styles/List.css';
|
||||
import { useState } from 'react';
|
||||
|
||||
const List = ({data}) => {
|
||||
const [reload, setReload] = useState(0);
|
||||
|
||||
async function deleteEntity(id) {
|
||||
function deleteEntity(id) {
|
||||
fetch("/delete", {
|
||||
|
||||
// Adding method type
|
||||
|
||||
Reference in New Issue
Block a user