File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { useNavigate } from 'react-router-dom' ;
3- import { Button , Result } from 'antd' ;
4- import { TrophyOutlined } from '@ant-design/icons' ;
3+ import { Button , Result , Space } from 'antd' ;
4+ import { TrophyOutlined , PlusOutlined } from '@ant-design/icons' ;
55
66const ModelRankingPage : React . FC = ( ) => {
77 const navigate = useNavigate ( ) ;
@@ -13,14 +13,18 @@ const ModelRankingPage: React.FC = () => {
1313 title = "Model Ranking"
1414 subTitle = "The leaderboard is coming soon. Check back after running your first experiments."
1515 extra = {
16- < div >
16+ < Space >
1717 < Button type = "primary" onClick = { ( ) => navigate ( '/' ) } >
1818 Back to Home
1919 </ Button >
20- < Button type = "primary" onClick = { ( ) => navigate ( '/publish' ) } >
21- Add your experiment to leaderboard
20+ < Button
21+ type = "primary"
22+ icon = { < PlusOutlined /> }
23+ onClick = { ( ) => navigate ( '/ranking/publish' ) }
24+ >
25+ Publish experiment
2226 </ Button >
23- </ div >
27+ </ Space >
2428 }
2529 />
2630 </ div >
You can’t perform that action at this time.
0 commit comments