Skip to content

Commit

Permalink
feat: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Apr 7, 2024
1 parent b464d63 commit 93c7830
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 346 deletions.
44 changes: 0 additions & 44 deletions antd-sample/MyComponent.jsx

This file was deleted.

141 changes: 0 additions & 141 deletions antd-sample/MyComponent.module.less

This file was deleted.

23 changes: 0 additions & 23 deletions antd-sample/MyComponent2/MyComponent.jsx

This file was deleted.

132 changes: 0 additions & 132 deletions antd-sample/MyComponent2/MyComponent.module.less

This file was deleted.

6 changes: 0 additions & 6 deletions antd-sample/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import './app.less';
import fetch from './common/fetch';
import Login from './login.jsx';

import { MyComponent } from './MyComponent';
import { MyComponent as MyComponent2 } from './MyComponent2/MyComponent';
import styles from './app.module.less';

import {
Expand Down Expand Up @@ -102,10 +100,6 @@ class App extends React.Component {
<h3>MyComponent</h3>
<MyComponent />

Check failure on line 101 in antd-sample/app.jsx

View workflow job for this annotation

GitHub Actions / Runner

'MyComponent' is not defined
</div>
<div className={styles.myComponent}>
<h3>MyComponent2</h3>
<MyComponent2 />
</div>
<Content style={{ padding: 30 }}>
<Select
className="test-list"
Expand Down

0 comments on commit 93c7830

Please sign in to comment.