File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,8 +200,8 @@ export default function ClaimClient() {
200200 }
201201
202202 setClaimState ( "success" ) ;
203- setClaimMessage ( "Migration successful. Tokens are now in your wallet." ) ;
204- await refetchClaimed ( ) ;
203+ setClaimMessage ( "You've already claimed with this wallet." ) ;
204+ await refetchClaimed ( ) . catch ( ( ) => undefined ) ;
205205 } catch ( error ) {
206206 setClaimState ( "error" ) ;
207207 setClaimMessage ( getErrorMessage ( error ) ) ;
@@ -238,10 +238,10 @@ export default function ClaimClient() {
238238 hint = "Loading eligibility data..." ;
239239 } else if ( ! entry ) {
240240 hint = "This wallet is not eligible for migration." ;
241+ } else if ( isAlreadyClaimed ) {
242+ hint = "You've already claimed with this wallet." ;
241243 } else if ( claimedReadError ) {
242244 hint = "Unable to check migration status. Please try again." ;
243- } else if ( isAlreadyClaimed ) {
244- hint = "You've already migrated with this wallet." ;
245245 } else {
246246 hint = "You'll confirm a transaction in your wallet." ;
247247 }
You can’t perform that action at this time.
0 commit comments