Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy committed Apr 24, 2024
1 parent a0e95c0 commit a1be1ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-manifest-example/host/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const columns: TableProps<DataType>['columns'] = [
<>
{tags.map((tag) => {
let color = tag.length > 5 ? 'geekblue' : 'green';
if (tag === 'loser') {
if (tag === 'fail') {
color = 'volcano';
}
return (
Expand Down Expand Up @@ -72,7 +72,7 @@ const data: DataType[] = [
name: 'Jim Green',
age: 42,
address: 'London No. 1 Lake Park',
tags: ['loser'],
tags: ['fail'],
},
{
key: '3',
Expand All @@ -85,4 +85,4 @@ const data: DataType[] = [

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

export default Home;
export default Home;

0 comments on commit a1be1ec

Please sign in to comment.