Skip to content

Commit

Permalink
style: husky style
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Oct 12, 2024
1 parent 944069a commit ab0658f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ const App = () => {
return <>Pro React Admin. Loading...</>
}

return (
<AuthRouter>{element}</AuthRouter>
)
return <AuthRouter>{element}</AuthRouter>
}

export default App
7 changes: 2 additions & 5 deletions src/components/stateless/LinearWrap/index.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import React from 'react'
import styles from './index.module.less'
const LinearWrap = ({children}) => {
const LinearWrap = ({ children }) => {
return (
<section className={styles.linearWrap}>
<span className={styles.line} />
<span className={styles.line} />
<span className={styles.line} />
<span className={styles.line} />
<section>
{children}
</section>
<section>{children}</section>
</section>
)

}
export default LinearWrap
3 changes: 1 addition & 2 deletions src/pages/home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const Home = () => {
onChange={changeChatText}
onKeyDown={onInputKeyDown}
autoSize
style={{width: 300,height: 30}}
style={{ width: 300, height: 30 }}
/>
</LinearWrap>
<Button
Expand All @@ -181,7 +181,6 @@ const Home = () => {
<section style={{ textAlign: 'right', color: '#666' }}>{dateTime}</section>
<ReMarkdown markdownText={aiText} isLoading={isStream} />
</section>

</FixTabPanel>
)
}
Expand Down

0 comments on commit ab0658f

Please sign in to comment.