get design updated
This commit is contained in:
parent
2d8f1865fd
commit
cebd858fab
@ -111,11 +111,7 @@ const Design = () => {
|
||||
|
||||
const getDesigns = async () => {
|
||||
try {
|
||||
const response = await axios.get("/api/design/getDesigns", {
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
});
|
||||
const response = await axios.get("/api/design/getDesigns");
|
||||
|
||||
if (response.status === 200) {
|
||||
setDesign(response?.data?.designs);
|
||||
|
Loading…
Reference in New Issue
Block a user