test shell script
This commit is contained in:
parent
1c5633ce7c
commit
a579f60e3e
|
|
@ -3,9 +3,11 @@ import React, { useEffect, useState } from "react";
|
||||||
import { addKeyValue, deleteValue, getKeyValues } from "../api/apiLog";
|
import { addKeyValue, deleteValue, getKeyValues } from "../api/apiLog";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
const ManageValues = () => {
|
const ManageValues = () => {
|
||||||
|
|
||||||
const [keyValue, setKeyValue] = useState([]);
|
const [keyValue, setKeyValue] = useState([]);
|
||||||
const [key, setKey] = useState([]);
|
const [key, setKey] = useState([]);
|
||||||
const [addValue, setAddValue] = useState({key: "CATCH_FAULTY", value:""});
|
const [addValue, setAddValue] = useState({key: "CATCH_FAULTY", value:""});
|
||||||
|
|
||||||
const getValues = async () => {
|
const getValues = async () => {
|
||||||
try {
|
try {
|
||||||
const res = await axios.post(getKeyValues);
|
const res = await axios.post(getKeyValues);
|
||||||
|
|
|
||||||
|
|
@ -201,4 +201,3 @@ Route.post("/api/gitea-webhook", ({ request, response }) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Route.get('/api/images/:filename', "ImagesController.getImage");
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue