@@ -119,6 +119,11 @@ export default function OnboardingTokenPage() {
119119 window . postMessage ( { type : 'EASYRELOCATE_PAIR_REQUEST' , token : t } , window . location . origin )
120120 }
121121
122+ const onPairAndContinue = ( ) => {
123+ onPairExtension ( )
124+ navigate ( '/compare' )
125+ }
126+
122127 useEffect ( ( ) => {
123128 const handler = ( event : MessageEvent ) => {
124129 if ( event . source !== window ) return
@@ -180,6 +185,10 @@ export default function OnboardingTokenPage() {
180185 < p className = "onboardingSubtitle" >
181186 This token is valid for 30 days. Keep it private (like a password).
182187 </ p >
188+ < p className = "onboardingSubtitle" style = { { marginTop : 6 } } >
189+ You can update your token anytime in the Map page (Workspace panel). Saving a new token
190+ will auto‑pair your extension.
191+ </ p >
183192
184193 < div className = "onboardingCard" style = { { maxWidth : 720 } } >
185194 { loading ? (
@@ -222,10 +231,10 @@ export default function OnboardingTokenPage() {
222231 < button className = "button secondary" onClick = { ( ) => void onCopy ( ) } >
223232 Copy
224233 </ button >
225- < button className = "button secondary " onClick = { onPairExtension } >
226- Pair extension
234+ < button className = "button" onClick = { onPairAndContinue } >
235+ Pair & Continue
227236 </ button >
228- < button className = "button" onClick = { onContinue } >
237+ < button className = "button secondary " onClick = { onContinue } >
229238 Continue to map
230239 </ button >
231240 </ div >
@@ -237,10 +246,10 @@ export default function OnboardingTokenPage() {
237246 < button className = "button secondary" onClick = { ( ) => void doIssue ( ) } >
238247 Generate token
239248 </ button >
240- < button className = "button secondary " onClick = { onPairExtension } >
241- Pair extension
249+ < button className = "button" onClick = { onPairAndContinue } >
250+ Pair & Continue
242251 </ button >
243- < button className = "button" onClick = { onContinue } >
252+ < button className = "button secondary " onClick = { onContinue } >
244253 Continue to map
245254 </ button >
246255 </ div >
0 commit comments