From 8b2caf99e706fa6367bdff4af16148bc1bf6f1ff Mon Sep 17 00:00:00 2001 From: amy Date: Mon, 26 Aug 2024 12:57:16 +0330 Subject: [PATCH] thatptr --- review/App.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/review/App.tsx b/review/App.tsx index 0f2116f..0eb476d 100644 --- a/review/App.tsx +++ b/review/App.tsx @@ -4,8 +4,9 @@ import { sendReview } from '../src/components/api' export default function App() { const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30) + console.log(token) let ref!: HTMLTextAreaElement; - return
+ return token !== "" ?