Skip to content

Commit a1be1ec

Browse files
update
1 parent a0e95c0 commit a1be1ec

File tree

1 file changed

+3
-3
lines changed
  • react-manifest-example/host/src/pages

1 file changed

+3
-3
lines changed

react-manifest-example/host/src/pages/Home.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const columns: TableProps<DataType>['columns'] = [
3535
<>
3636
{tags.map((tag) => {
3737
let color = tag.length > 5 ? 'geekblue' : 'green';
38-
if (tag === 'loser') {
38+
if (tag === 'fail') {
3939
color = 'volcano';
4040
}
4141
return (
@@ -72,7 +72,7 @@ const data: DataType[] = [
7272
name: 'Jim Green',
7373
age: 42,
7474
address: 'London No. 1 Lake Park',
75-
tags: ['loser'],
75+
tags: ['fail'],
7676
},
7777
{
7878
key: '3',
@@ -85,4 +85,4 @@ const data: DataType[] = [
8585

8686
const Home: React.FC = () => <Table columns={columns} dataSource={data} />;
8787

88-
export default Home;
88+
export default Home;

0 commit comments

Comments
 (0)