Skip to content

Commit

Permalink
Merge pull request #934 from Deep1144/test/contest
Browse files Browse the repository at this point in the history
added past winners tab in leader board and removed menu
  • Loading branch information
sameepsi authored Jul 25, 2023
2 parents c53ae13 + b44feef commit 87959aa
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 482 deletions.
6 changes: 0 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import { mainTheme } from './theme';
import Background from 'layouts/Background';
import { RedirectExternal } from 'components/RedirectExternal/RedirectExternal';
import NotFound404Page from 'pages/NotFound404Page';
import PastWinnersPage from 'pages/PastWinnersPage/PastWinnersPage';

const ThemeProvider: React.FC = ({ children }) => {
const theme = mainTheme;
Expand Down Expand Up @@ -128,11 +127,6 @@ const App: React.FC = () => {
<ContestPage />
</PageLayout>
</Route>
<Route exact path='/past-winners'>
<PageLayout>
<PastWinnersPage />
</PageLayout>
</Route>
<Route exact path='/pools/:version?'>
<PageLayout>
<PoolsPage />
Expand Down
9 changes: 0 additions & 9 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ const Header: React.FC = () => {
const showLending = config['lending']['available'];
const showGamingHub = config['gamingHub']['available'];
const showLeaderboard = config['leaderboard']['available'];
const showPastWinners = config['pastwinners']['available'];
const showSafe = config['safe']['available'];
const showPerps = config['perps']['available'];
const showBOS = config['bos']['available'];
Expand Down Expand Up @@ -226,14 +225,6 @@ const Header: React.FC = () => {
isNew: true,
});
}
if (showPastWinners) {
menuItems.push({
link: '/past-winners',
text: 'Past winners',
id: 'past-winners',
isNew: true,
});
}
if (showConvert) {
menuItems.push({
link: '/convert',
Expand Down
Loading

0 comments on commit 87959aa

Please sign in to comment.