From 3f4fc8c9a60a81cb84da2b9f677f2bfde5cd349e Mon Sep 17 00:00:00 2001 From: Thunnini Date: Wed, 21 Dec 2022 23:17:04 +0900 Subject: [PATCH] Give a priority to twitter name which actually registered on chain --- pages/verification/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/verification/index.tsx b/pages/verification/index.tsx index d027802..eaa672a 100644 --- a/pages/verification/index.tsx +++ b/pages/verification/index.tsx @@ -474,7 +474,7 @@ export default function VerificationPage() { pathname: "complete", query: { txHash: Buffer.from(txHash).toString("hex"), - twitterUsername: twitterInfo.username, + twitterUsername: registeredTwitterName || twitterInfo.username, }, }); }