File tree Expand file tree Collapse file tree 10 files changed +16
-16
lines changed
Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11import { } from "styled-components" ;
2- import { lightTheme } from "./src/ styles/themes" ;
2+ import { lightTheme } from "styles/themes" ;
33
44declare global {
55 module "*.svg" {
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ const App: React.FC = () => {
3838 < Route path = "cases/*" element = { < Cases /> } />
3939 < Route path = "courts/*" element = { < Courts /> } />
4040 < Route path = "dashboard/:page/:order/:filter" element = { < Dashboard /> } />
41- < Route path = "disputeTemplate " element = { < DisputeTemplateView /> } />
41+ < Route path = "dispute-template " element = { < DisputeTemplateView /> } />
4242 < Route path = "resolver/*" element = { < DisputeResolver /> } />
43- < Route path = "getPnk /*" element = { < GetPnk /> } />
43+ < Route path = "get-pnk /*" element = { < GetPnk /> } />
4444 < Route path = "*" element = { < h1 > Justice not found here ¯\_( ͡° ͜ʖ ͡°)_/¯</ h1 > } />
4545 </ Route >
4646 </ SentryRoutes >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const links = [
6060 { to : "/cases/display/1/desc/all" , text : "Cases" } ,
6161 { to : "/courts" , text : "Courts" } ,
6262 { to : "/dashboard/1/desc/all" , text : "Dashboard" } ,
63- { to : "/getPnk " , text : "Get PNK" } ,
63+ { to : "/get-pnk " , text : "Get PNK" } ,
6464] ;
6565
6666const Explore : React . FC = ( ) => {
@@ -84,9 +84,9 @@ const Explore: React.FC = () => {
8484 { ! isOpen && (
8585 < LinkContainer >
8686 < HiddenLink
87- to = "/disputeTemplate "
87+ to = "/dispute-template "
8888 onClick = { toggleIsOpen }
89- isActive = { location . pathname . startsWith ( "/disputeTemplate " ) }
89+ isActive = { location . pathname . startsWith ( "/dispute-template " ) }
9090 >
9191 Dev
9292 </ HiddenLink >
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ const NextButton: React.FC<INextButton> = ({ nextRoute }) => {
2727 ( location . pathname . includes ( "/resolver/description" ) && ! disputeData . description ) ||
2828 ( location . pathname . includes ( "/resolver/court" ) && ! disputeData . courtId ) ||
2929 ( location . pathname . includes ( "/resolver/jurors" ) && ! disputeData . arbitrationCost ) ||
30- ( location . pathname . includes ( "/resolver/votingoptions " ) && ! areVotingOptionsFilled ) ||
31- ( location . pathname . includes ( "/resolver/notablepersons " ) && ! areFilledAddressesValid ) ||
30+ ( location . pathname . includes ( "/resolver/voting-options " ) && ! areVotingOptionsFilled ) ||
31+ ( location . pathname . includes ( "/resolver/notable-persons " ) && ! areFilledAddressesValid ) ||
3232 ( location . pathname . includes ( "/resolver/policy" ) && ( isPolicyUploading || ! disputeData . policyURI ) ) ;
3333
3434 return < Button disabled = { isButtonDisabled } onClick = { ( ) => navigate ( nextRoute ) } text = "Next" /> ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const Jurors: React.FC = () => {
6060 < Header text = "Select the number of jurors" />
6161 < StyledField placeholder = "Select the number of jurors" value = { noOfVotes } onChange = { handleJurorsWrite } />
6262 < StyledDisplay text = { arbitrationFee } Icon = { ETH } label = "Arbitration Cost" />
63- < NavigationButtons prevRoute = "/resolver/category" nextRoute = "/resolver/votingoptions " />
63+ < NavigationButtons prevRoute = "/resolver/category" nextRoute = "/resolver/voting-options " />
6464 </ Container >
6565 ) ;
6666} ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const NotablePersons: React.FC = () => {
4545 updateValue = { updateNumberOfAliases }
4646 minValue = { 2 }
4747 />
48- < NavigationButtons prevRoute = "/resolver/votingoptions " nextRoute = "/resolver/policy" />
48+ < NavigationButtons prevRoute = "/resolver/voting-options " nextRoute = "/resolver/policy" />
4949 </ Container >
5050 ) ;
5151} ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const VotingOptions: React.FC = () => {
6363 variant = "info"
6464 />
6565 </ AlertMessageContainer >
66- < NavigationButtons prevRoute = "/resolver/jurors" nextRoute = "/resolver/notablepersons " />
66+ < NavigationButtons prevRoute = "/resolver/jurors" nextRoute = "/resolver/notable-persons " />
6767 </ Container >
6868 ) ;
6969} ;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const Policy: React.FC = () => {
7777 msg = "You can attach additional information as a PDF file. Important: the above description must reference the relevant parts of the file content."
7878 />
7979
80- < NavigationButtons prevRoute = "/resolver/notablepersons " nextRoute = "/resolver/preview" />
80+ < NavigationButtons prevRoute = "/resolver/notable-persons " nextRoute = "/resolver/preview" />
8181 </ Container >
8282 ) ;
8383} ;
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ const Timeline: React.FC = () => {
3636 "/resolver/court" : 1 ,
3737 "/resolver/category" : 1 ,
3838 "/resolver/jurors" : 1 ,
39- "/resolver/votingoptions " : 1 ,
40- "/resolver/notablepersons " : 1 ,
39+ "/resolver/voting-options " : 1 ,
40+ "/resolver/notable-persons " : 1 ,
4141 "/resolver/policy" : 2 ,
4242 "/resolver/preview" : 3 ,
4343 } ;
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ const DisputeResolver: React.FC = () => {
8080 < Route path = "/court/*" element = { < Court /> } />
8181 < Route path = "/category/*" element = { < Category /> } />
8282 < Route path = "/jurors/*" element = { < Jurors /> } />
83- < Route path = "/votingoptions /*" element = { < VotingOptions /> } />
84- < Route path = "/notablepersons /*" element = { < NotablePersons /> } />
83+ < Route path = "/voting-options /*" element = { < VotingOptions /> } />
84+ < Route path = "/notable-persons /*" element = { < NotablePersons /> } />
8585 < Route path = "/policy/*" element = { < Policy /> } />
8686 < Route path = "/preview/*" element = { < Preview /> } />
8787 </ Routes >
You can’t perform that action at this time.
0 commit comments