diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index ff7648513..664d063ff 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -21,8 +21,8 @@ function Tags(props) { if (projectsId) { const url = `/${owner}/${projectsId}/tags.json`; axios.get(url).then((result) => { - if (result) { - setSource(result.data); + if (result && result.data) { + setSource(result.data.tags); setIsSpin(false); } }).catch(error => {})