diff --git a/src/components/stateless/LinearWrap/index.jsx b/src/components/stateless/LinearWrap/index.jsx index acdeacde..3b8ce74d 100644 --- a/src/components/stateless/LinearWrap/index.jsx +++ b/src/components/stateless/LinearWrap/index.jsx @@ -1,17 +1,14 @@ import React from 'react' import styles from './index.module.less' -const LinearWrap = ({children}) => { +const LinearWrap = ({ children }) => { return (
-
- {children} -
+
{children}
) - } export default LinearWrap diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx index 8c974c82..85c2f589 100644 --- a/src/pages/home/index.jsx +++ b/src/pages/home/index.jsx @@ -59,8 +59,8 @@ const Home = () => { [ { content: text, - role: 'user', - }, + role: 'user' + } ], key, signal @@ -148,29 +148,29 @@ const Home = () => {

React version: {version}

- - + + - @@ -181,7 +181,6 @@ const Home = () => {
{dateTime}
- ) }