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