Skip to content

Commit

Permalink
feat: jwt key recognize test
Browse files Browse the repository at this point in the history
feat: jwt key recognize test
  • Loading branch information
devwoodie authored Jul 30, 2023
2 parents 937fe60 + b35873d commit 32626c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Main = () => {
const [remountKey, setRemountKey] = useState(0);

useEffect(() => {
apiCallSet();
const isFirstVisit = sessionStorage.getItem('isFirstVisit');

if (isFirstVisit !== null) {
Expand All @@ -53,6 +54,7 @@ const Main = () => {
useEffect(() => {
if (key) {
apiCallSet();
alert("jwt key confirm");
}
}, [key]);

Expand Down

0 comments on commit 32626c9

Please sign in to comment.