File tree Expand file tree Collapse file tree 4 files changed +2
-286
lines changed Expand file tree Collapse file tree 4 files changed +2
-286
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { useEffect } from "react";
10
10
import { useDispatch , useSelector } from "react-redux" ;
11
11
import { Link } from "react-router-dom" ;
12
12
import { loadRound } from "../../actions/rounds" ;
13
- import { roundApplicationViewPath } from "../../routes" ;
14
13
import { ApplicationCardType , RoundSupport } from "../../types" ;
15
14
import {
16
15
formatDate ,
@@ -196,17 +195,8 @@ export default function ApplicationCard({
196
195
return null ;
197
196
}
198
197
199
- const applicationStartTime = new Date ( props . round . applicationsStartTime ) ;
200
- const showCheckerLink =
201
- applicationStartTime >= new Date ( "2024-12-01T00:00:00Z" ) ;
202
-
203
- const applicationViewLink = showCheckerLink
204
- ? `https://beta.checker.gitcoin.co/view/application/${ applicationData . chainId } /${ applicationData . roundID } /${ applicationData . application . id } `
205
- : roundApplicationViewPath (
206
- applicationData . chainId . toString ( ) ,
207
- applicationData . roundID ,
208
- applicationData . application . metadataCid || ""
209
- ) ;
198
+ const applicationViewLink = `https://beta.checker.gitcoin.co/view/application/
199
+ ${ applicationData . chainId } /${ applicationData . roundID } /${ applicationData . application . id } ` ;
210
200
211
201
return (
212
202
< Box
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import NewProject from "./components/grants/New";
23
23
import Project from "./components/grants/Show" ;
24
24
import RoundApply from "./components/rounds/Apply" ;
25
25
import RoundShow from "./components/rounds/Show" ;
26
- import ViewApplication from "./components/rounds/ViewApplication" ;
27
26
import history from "./history" ;
28
27
import reportWebVitals from "./reportWebVitals" ;
29
28
import { slugs } from "./routes" ;
@@ -138,10 +137,6 @@ root.render(
138
137
path = { slugs . roundApplication }
139
138
element = { < RoundApply /> }
140
139
/>
141
- < Route
142
- path = { slugs . roundApplicationView }
143
- element = { < ViewApplication /> }
144
- />
145
140
< Route path = "*" element = { < PageNotFound /> } />
146
141
</ Routes >
147
142
</ Layout >
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ export const slugs = {
6
6
newGrant : `/projects/new` ,
7
7
round : `/chains/:chainId/rounds/:roundId` ,
8
8
roundApplication : `/chains/:chainId/rounds/:roundId/apply` ,
9
- roundApplicationView : `/chains/:chainId/rounds/:roundId/view/:ipfsHash` ,
10
9
} ;
11
10
12
11
export const rootPath = ( ) => slugs . root ;
@@ -39,9 +38,3 @@ export const roundApplicationPathForProject = (
39
38
roundId : string ,
40
39
projectId : string
41
40
) => `/round/${ chainId } /${ roundId } /${ projectId } ` ;
42
-
43
- export const roundApplicationViewPath = (
44
- chainId : string ,
45
- roundId : string ,
46
- ipfsHash : string
47
- ) => `/chains/${ chainId } /rounds/${ roundId } /view/${ ipfsHash } ` ;
You can’t perform that action at this time.
0 commit comments