From 8f4bfdd908c69d2412a1cccfefa2ea9f08c4ba9f Mon Sep 17 00:00:00 2001 From: daniel-vahn Date: Mon, 22 Apr 2024 12:34:32 +0200 Subject: [PATCH] debug --- src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 5664637..86308f7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -132,11 +132,13 @@ function App() { // Test Functions const [signedMessage, setSignedMessage] = useState(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);