diff --git a/src/pages/Doc/index.jsx b/src/pages/Doc/index.jsx index 4ac049a..033ece4 100644 --- a/src/pages/Doc/index.jsx +++ b/src/pages/Doc/index.jsx @@ -28,26 +28,29 @@ const DocList = () => { }; fetchDocs(); - }, []); + }, []); - if (loading) return
; if (error) return ; return (
-
    + {loading ? ( +
    + +
    + ) : (
      { docs.map(item => - {item.title.replace(/_/g, ' ')} + {item.title.replace(/_/g, ' ')} ) } -
    +
)}
);