Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed Apr 22, 2024
1 parent de07a72 commit 8f4bfdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ function App() {
// Test Functions
const [signedMessage, setSignedMessage] = useState<string | null>(null);
const triggerTestMessageSign = () => {
const providerId = window.localStorage.getItem('providerId');
WebApp.openLink('https://metamask.app.link/');
axios
.post(BRIDGE_URL + '/sign', {
message: 'This is a test message.',
account: account,
providerId: providerId,
})
.then((response) => {
console.log(response.data.signature);
Expand Down

0 comments on commit 8f4bfdd

Please sign in to comment.