Skip to content

Commit

Permalink
Merge pull request #45 from Itheum/d-kent
Browse files Browse the repository at this point in the history
[ice] TB view 2
  • Loading branch information
damienen authored Jul 21, 2023
2 parents 2ce763b + 1bfe484 commit 7acb21e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
sampleAuthenticatedDomains,
ELROND_NETWORK,
} from "config";
import { PageNotFound, Unlock } from "pages";
import { MyWallet, PageNotFound, Unlock } from "pages";
import { ItheumTrailblazer } from "pages/ItheumTrailblazer";
import { routes, routeNames } from "routes";

Expand Down Expand Up @@ -53,6 +53,7 @@ export const App = () => {
/>
))}
<Route path={`${routeNames.itheumtrailblazer}/:targetNonce/:targetMessageToBeSigned`} element={<ItheumTrailblazer />} />
<Route path={`${routeNames.mywallet}/:targetNonce/:targetMessageToBeSigned`} element={<MyWallet />} />
<Route path="*" element={<PageNotFound />} />
</Routes>
</Layout>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/MyWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ export const MyWallet = () => {
signature: Buffer.from(signature, "hex"),
signer: loginMethod,
});

setIsTrailBlazer(true);
await processSignature(Number(targetNonce), targetMessageToBeSigned, signedMessage);
})();
}
Expand Down

0 comments on commit 7acb21e

Please sign in to comment.