Skip to content

Commit

Permalink
Merge pull request #123 from bsideproject/jw-dev
Browse files Browse the repository at this point in the history
temp
  • Loading branch information
boxak authored Jul 23, 2023
2 parents 009a8de + 9661b3f commit 85f53b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function App() {
useEffect(() => {

const handleMessage = (event : any) => {
if(!isMessageReceived) {


setMessageReceived(true);
window.removeEventListener('message', handleMessage);
Expand All @@ -36,7 +36,7 @@ function App() {

RootStore.userStore.setJwtKey(data);

}

};

window.addEventListener('message', handleMessage);
Expand Down

0 comments on commit 85f53b4

Please sign in to comment.