update asset library URL, fix dropdown item comment, and adjust line color based on theme

This commit is contained in:
2025-04-04 13:42:46 +05:30
parent df0b4a297a
commit cf4c026d79
6 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,7 @@
let BackEnd_url = `http://${process.env.REACT_APP_SERVER_ASSET_LIBRARY_URL}`;
export const getCategoryAsset = async (categoryName: any) => {
try {
const response = await fetch(
`${BackEnd_url}/api/v2/getCatagoryAssets/${categoryName}`,
const response = await fetch(`${BackEnd_url}/api/v2/getCategoryAssets/${categoryName}`,
{
method: "GET",
headers: {