File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @stanlemon/app-template" ,
3- "version" : " 0.4.1 " ,
3+ "version" : " 0.4.2 " ,
44 "description" : " A template for creating apps using the webdev package." ,
55 "author" : " Stan Lemon <stanlemon@users.noreply.github.com>" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,12 @@ export default function App() {
4040 < SuccessMessage message = { message } />
4141 { ! user && (
4242 < Switch >
43- < Route path = "/" >
43+ < Route path = "/verify/:token" >
44+ { ( { token : verificationToken } : { token : string } ) => (
45+ < Verify token = { verificationToken } />
46+ ) }
47+ </ Route >
48+ < Route >
4449 < Row >
4550 < Column >
4651 < h2 > Login</ h2 >
@@ -53,11 +58,6 @@ export default function App() {
5358 </ Column >
5459 </ Row >
5560 </ Route >
56- < Route path = "/verify/:token" >
57- { ( { token : verificationToken } : { token : string } ) => (
58- < Verify token = { verificationToken } />
59- ) }
60- </ Route >
6161 </ Switch >
6262 ) }
6363 { user && (
You can’t perform that action at this time.
0 commit comments