diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index cf89cd7b..5e2ddbfa 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -11,7 +11,7 @@ import moment from 'moment'; function Tags(props) { - const [ source , setSource ] = useState([]); + const [ source , setSource ] = useState(undefined); const [ isSpin , setIsSpin ] = useState(true); const { projectsId , owner } = props.match.params; @@ -99,18 +99,19 @@ function Tags(props) { return(
- { - source && source.length > 0 ? -
- -
-
-
- : - - } +
+ + { + source && source.length > 0 && +
+ } + { + source && source.length === 0 && + } +
+
) }