From a5bfdcc2669594c1840766af30cdf9f89b18c577 Mon Sep 17 00:00:00 2001 From: muhammadeko Date: Mon, 23 May 2022 19:22:35 +0700 Subject: [PATCH] show token/otp --- src/components/pages/GCAuth.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/pages/GCAuth.tsx b/src/components/pages/GCAuth.tsx index 9cb40f6..cdd7166 100644 --- a/src/components/pages/GCAuth.tsx +++ b/src/components/pages/GCAuth.tsx @@ -272,8 +272,12 @@ export default function GCAuth() { - + { + navigator.clipboard.writeText(e.currentTarget.value) + }} + placeholder="Your token here" + className="mt-2 block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md" + value={token} readOnly/>