Skip to content

Commit

Permalink
webapp: remove loading
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Nov 2, 2023
1 parent a06644d commit 092b0d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const Header = () => {
try {
const res = await petraSignMesssage(payload);
console.log("response", res);
const response = await getToken(signature, challengeId, Pubkey);
const response = await getToken(signature, challengeId, Pubkey);
if (response.data.token) {
//store the token in the session storage
sessionStorage.setItem("token", response.data.token);
Expand Down
6 changes: 3 additions & 3 deletions webapp/src/pages/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const Dashboard: React.FC = () => {
// return <NotConnected />;
// }

if (isLoading || isConnecting) {
return <DashboardLoader />;
}
// if (isLoading || isConnecting) {
// return <DashboardLoader />;
// }

// if (!authContext?.isAuthorized) {
// return <NotAuthorized />;
Expand Down

0 comments on commit 092b0d8

Please sign in to comment.